summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-06-07 11:16:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-06-07 11:16:58 +0200
commit659ea5604055208ac23feebc097d14e08633e79e (patch)
treedf864a33ad67f8e063bbffd6878bcf0a450ca499 /scripts
parent265b14d6b37c4298bd5556fabcbc37d36f911693 (diff)
downloadcurl-659ea5604055208ac23feebc097d14e08633e79e.tar.gz
release-notes.pl: also spot common 'closes' typo
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release-notes.pl6
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;