From 20f281293ff5c977d2f2e1b8ebe2d97399b1bd09 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 11 Apr 2020 18:47:23 +0200 Subject: [PATCH] release-notes.pl: detect the start of the references in cleanup mode --- scripts/release-notes.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/release-notes.pl b/scripts/release-notes.pl index 83ff4d75f..7e4d4b98f 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; }