From d2fc8b4a5f53ce638cacae56375b120c0a687978 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 Jun 2012 23:49:14 +0200 Subject: log2changes.pl: fix the Version output Previously it could easily wrongly get repeated --- log2changes.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'log2changes.pl') diff --git a/log2changes.pl b/log2changes.pl index a92d939b3..667daabf0 100755 --- a/log2changes.pl +++ b/log2changes.pl @@ -35,8 +35,6 @@ while() { if ($ref =~ /refs\/tags\/curl-([0-9_]*)/) { $tag = $1; $tag =~ tr/_/./; - } else { - $tag = ''; } } elsif($l =~ /^Author: *(.*) +) { # 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); -- cgit v1.2.3