Skip to content

Commit 268e3f5

Browse files
authored
Merge pull request #52 from dscho/mingw-w64-gnutls-relnotes
/add relnote: extend `gnutls` special-casing to the MINGW variant
2 parents 11796c6 + da023fc commit 268e3f5

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)