diff --git a/scripts/release-notes.pl b/scripts/release-notes.pl index 67805f9f1f..2cb04e66f4 100755 --- a/scripts/release-notes.pl +++ b/scripts/release-notes.pl @@ -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) {