From: Daniel Stenberg Date: Mon, 7 Jun 2021 09:16:58 +0000 (+0200) Subject: release-notes.pl: also spot common 'closes' typo X-Git-Tag: curl-7_78_0~195 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=659ea5604055208ac23feebc097d14e08633e79e;p=thirdparty%2Fcurl.git release-notes.pl: also spot common 'closes' typo --- diff --git a/scripts/release-notes.pl b/scripts/release-notes.pl index 1aea3b52ad..84833ecd75 100755 --- a/scripts/release-notes.pl +++ b/scripts/release-notes.pl @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 2020, Daniel Stenberg, , et al. +# Copyright (C) 2020 - 2021, Daniel Stenberg, , et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -110,8 +110,8 @@ for my $l (@gitlog) { if($line =~ /^Fixes(:|) .*[^0-9](\d+)/i) { push @fixes, $2; } - elsif($line =~ /^Closes(:|) .*[^0-9](\d+)/i) { - push @closes, $2; + elsif($line =~ /^Clo(s|)es(:|) .*[^0-9](\d+)/i) { + push @closes, $3; } elsif($line =~ /^Bug: (.*)/i) { push @bug, $1;