From 659ea5604055208ac23feebc097d14e08633e79e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 7 Jun 2021 11:16:58 +0200 Subject: [PATCH] release-notes.pl: also spot common 'closes' typo --- scripts/release-notes.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;