]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
git2spec.pl: remove ".git$(date)" from release string
authorHarald Hoyer <harald@redhat.com>
Fri, 18 Oct 2013 13:34:44 +0000 (15:34 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 09:52:03 +0000 (11:52 +0200)
git2spec.pl

index 0d8adb4a161149440cb05444712c9dcc07816e32..b8442951217db9b64fc7cb29e60e95feec2b552a 100755 (executable)
@@ -20,8 +20,7 @@ chomp($tag);
 my @patches=&create_patches($tag, $pdir);
 my $num=$#patches + 2;
 $tag=~s/[^0-9]+?([0-9]+)/$1/;
-my $release="$num.git$datestr";
-$release="1" if $num == 1;
+my $release="$num";
 
 while(<>) {
     if (/^Version:/) {