From 35c4b2f168b437287b16a083c246229c34ca4260 Mon Sep 17 00:00:00 2001 From: Jared Ondricek Date: Tue, 31 Dec 2024 12:54:01 -0600 Subject: [PATCH] Update dist to include built file --- dist/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 59e114b..a742873 100644 --- a/dist/index.js +++ b/dist/index.js @@ -50332,7 +50332,12 @@ function extractChangeItems({ version }) { visit(tree, 'heading', (node, index, parent) => { const [text] = node.children; - if (text?.type === 'text' && text.value === version && parent && index !== undefined) { + if ( + text?.type === 'text' && + text.value.startsWith(version) && + parent && + index !== undefined + ) { const nextSibling = parent.children[index + 1]; if (nextSibling?.type === 'list') { list = nextSibling;