scripts/release-notes.pl: accept colon after the Fixes/Closes keywords

This commit is contained in:
Daniel Stenberg 2020-04-14 23:36:37 +02:00
parent 19ec94d944
commit d1479716b5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 2 additions and 2 deletions

View File

@ -107,10 +107,10 @@ for my $l (@gitlog) {
# not the first
my $line = $1;
if($line =~ /^Fixes .*[^0-9](\d+)/i) {
if($line =~ /^Fixes(:|) .*[^0-9](\d+)/i) {
push @fixes, $1;
}
elsif($line =~ /^Closes .*[^0-9](\d+)/i) {
elsif($line =~ /^Closes(:|) .*[^0-9](\d+)/i) {
push @closes, $1;
}
elsif($line =~ /^Bug: (.*)/i) {