]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
release-notes.pl: also spot common 'closes' typo
authorDaniel Stenberg <daniel@haxx.se>
Mon, 7 Jun 2021 09:16:58 +0000 (11:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 7 Jun 2021 09:16:58 +0000 (11:16 +0200)
scripts/release-notes.pl

index 1aea3b52ad6b6343c772c2c1c1d1e3696d28f611..84833ecd751e4dbdfbcd6aa48e65cbd46179095d 100755 (executable)
@@ -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;