Skip to content

Commit

Permalink
Update makepack to push tag
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Apr 29, 2016
1 parent a394201 commit 5b0a1eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make/makepack-awstats.pl
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@
$olddir=getcwd();
chdir("$SOURCE");

print 'Run git tag -a -m "'.$MAJOR.'.'.$MINOR.'" "'.$MAJOR.'.'.$MINOR.'"'."\n";
$ret=`git tag -a -m "$MAJOR.$MINOR.$BUILD" "$MAJOR.$MINOR" 2>&1`;
print 'Run git tag -a -m "AWSTATS_'.$MAJOR.'_'.$MINOR.'" "AWSTATS_'.$MAJOR.'_'.$MINOR.'"'."\n";
$ret=`git tag -a -m "AWSTATS_${MAJOR}_${MINOR}" "AWSTATS_${MAJOR}_${MINOR}" 2>&1`;
if ($ret =~ /already exists/)
{
print "WARNING: Tag ".$MAJOR.'.'.$MINOR." already exists. Overwrite (y/N) ? ";
Expand Down

0 comments on commit 5b0a1eb

Please sign in to comment.