1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-11 22:18:00 -05:00

release-notes.pl: also spot common 'closes' typo

This commit is contained in:
Daniel Stenberg 2021-06-07 11:16:58 +02:00
parent 265b14d6b3
commit 659ea56040
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 # This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms # 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) { if($line =~ /^Fixes(:|) .*[^0-9](\d+)/i) {
push @fixes, $2; push @fixes, $2;
} }
elsif($line =~ /^Closes(:|) .*[^0-9](\d+)/i) { elsif($line =~ /^Clo(s|)es(:|) .*[^0-9](\d+)/i) {
push @closes, $2; push @closes, $3;
} }
elsif($line =~ /^Bug: (.*)/i) { elsif($line =~ /^Bug: (.*)/i) {
push @bug, $1; push @bug, $1;