From 3c77e280ce353449ca77ef0b387aa5551505b335 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 20 Apr 2020 08:03:24 +0200 Subject: [PATCH] release-notes.pl: fix parsing typo --- scripts/release-notes.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release-notes.pl b/scripts/release-notes.pl index 2cb04e66f..2be0eab8f 100755 --- a/scripts/release-notes.pl +++ b/scripts/release-notes.pl @@ -108,10 +108,10 @@ for my $l (@gitlog) { my $line = $1; if($line =~ /^Fixes(:|) .*[^0-9](\d+)/i) { - push @fixes, $1; + push @fixes, $2; } elsif($line =~ /^Closes(:|) .*[^0-9](\d+)/i) { - push @closes, $1; + push @closes, $2; } elsif($line =~ /^Bug: (.*)/i) { push @bug, $1;