From: Daniel Stenberg Date: Sat, 11 Apr 2020 16:47:23 +0000 (+0200) Subject: release-notes.pl: detect the start of the references in cleanup mode X-Git-Tag: curl-7_70_0~101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20f281293ff5c977d2f2e1b8ebe2d97399b1bd09;p=thirdparty%2Fcurl.git release-notes.pl: detect the start of the references in cleanup mode --- diff --git a/scripts/release-notes.pl b/scripts/release-notes.pl index 83ff4d75f9..7e4d4b98fa 100755 --- a/scripts/release-notes.pl +++ b/scripts/release-notes.pl @@ -177,9 +177,8 @@ for my $l (@releasenotes) { } undef @bullets; } - push @o, $l; } - elsif($l =~ /^ \[(\d+)\] = /) { + if($l =~ /^ \[(\d+)\] = /) { # stop now last; }