diff options
Diffstat (limited to 'log2changes.pl')
-rwxr-xr-x | log2changes.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/log2changes.pl b/log2changes.pl index a92d939b3..667daabf0 100755 --- a/log2changes.pl +++ b/log2changes.pl @@ -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); |