We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1788c0 commit 3785060Copy full SHA for 3785060
ship.config.js
@@ -11,7 +11,7 @@ function extractSpecificChangelog (changelog, version) {
11
}
12
const escapedVersion = version.replace(/\./g, '\\.')
13
const regex = new RegExp(
14
- `(#+?\\s\\[?v?${escapedVersion}\\]?[\\s\\S]*?)(#+?\\s\\[?v?\\d\\.\\d\\.\\d\\]?)`,
+ `(#+?\\s\\[?v?${escapedVersion}\\]?[\\s\\S]*?)(#+?\\s\\[?v?\\d+?\\.\\d+?\\.\\d+?\\]?)`,
15
'g'
16
)
17
const matches = regex.exec(changelog)
0 commit comments