]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
release-notes.pl: detect the start of the references in cleanup mode
authorDaniel Stenberg <daniel@haxx.se>
Sat, 11 Apr 2020 16:47:23 +0000 (18:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 11 Apr 2020 16:47:23 +0000 (18:47 +0200)
scripts/release-notes.pl

index 83ff4d75f9e3af48aaa2ce5979f7d39c59ab9568..7e4d4b98fa2f66b4b3c3571e0a67b2cfcbe716e3 100755 (executable)
@@ -177,9 +177,8 @@ for my $l (@releasenotes) {
             }
             undef @bullets;
         }
-        push @o, $l;
     }
-    elsif($l =~ /^ \[(\d+)\] = /) {
+    if($l =~ /^ \[(\d+)\] = /) {
         # stop now
         last;
     }