Commit d2fc8b4a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

log2changes.pl: fix the Version output

Previously it could easily wrongly get repeated
parent 04ca9aec
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -35,8 +35,6 @@ while(<STDIN>) {
        if ($ref =~ /refs\/tags\/curl-([0-9_]*)/) {
            $tag = $1;
            $tag =~ tr/_/./;
        } else {
            $tag = '';
        }
    }
    elsif($l =~ /^Author: *(.*) +</) {
@@ -54,6 +52,7 @@ while(<STDIN>) {
            # Version entries have a special format
            print "\nVersion " . $tag." ($date)\n";
            $oldc = "";
            $tag = "";
        }
        if($a ne $c) {
            $extra=sprintf("\n- [%s brought this change]\n\n  ", $a);