Skip to content

Commit da023fc

Browse files
committed
/add relnote: extend gnutls special-casing to the MINGW variant
I already added special-casing for GNU TLS in 2085119 (guess release notes: support GNU TLS tickets better, 2023-02-15), but I forgot that it's also possible to call `/add relnote` from the `mingw-w64-gnutls` Pull Request... Let's remedy that. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 11796c6 commit da023fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GitForWindowsHelper/component-updates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const guessReleaseNotes = async (context, issue) => {
9191
const pattern = {
9292
bash: /(?:^|\n)(https:\/\/\S+)/, // use the first URL
9393
gnutls: /(https:\/\/[^\s)]+)/
94-
}[package_name.toLowerCase()] || /(?:^|\n)(https:\/\/\S+)$/
94+
}[package_name.toLowerCase().replace(/^mingw-w64-/, '')] || /(?:^|\n)(https:\/\/\S+)$/
9595
const match = issue.body.match(pattern)
9696
return match && match[1]
9797
}

0 commit comments

Comments
 (0)