diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-06-07 11:16:58 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-06-07 11:16:58 +0200 |
commit | 659ea5604055208ac23feebc097d14e08633e79e (patch) | |
tree | df864a33ad67f8e063bbffd6878bcf0a450ca499 /scripts | |
parent | 265b14d6b37c4298bd5556fabcbc37d36f911693 (diff) | |
download | curl-659ea5604055208ac23feebc097d14e08633e79e.tar.gz |
release-notes.pl: also spot common 'closes' typo
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/release-notes.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/release-notes.pl b/scripts/release-notes.pl index 1aea3b52a..84833ecd7 100755 --- a/scripts/release-notes.pl +++ b/scripts/release-notes.pl @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 2020, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 2020 - 2021, Daniel Stenberg, <daniel@haxx.se>, 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; |