Skip to content

Commit 46b5841

Browse files
committed
add-release-note: do remove superseded MSYS2 runtime entries
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent e6ef822 commit 46b5841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

add-release-note.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const addReleaseNote = (type, message) => {
4646

4747
// Remove any superseded entries
4848
if (type === 'feature') {
49-
const match = message.match(/^(Comes with \[[^\]]+ )(v|patch level)/)
49+
const match = message.match(/^(Comes with (?:\[[^\]]+|the MSYS2 runtime .*Cygwin) )(v|patch level)/)
5050
if (match) sections.feature = sections.feature.filter(e => !e.startsWith(`* ${match[1]}${match[2]}`))
5151
}
5252

0 commit comments

Comments
 (0)