From 919c54ef5fabe7b7c2eef9c91094642c47b2eb7c Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Wed, 4 May 2016 12:29:16 +0200 Subject: [PATCH] release.pl: don't created branches from tag names --- scripts/release.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/release.pl b/scripts/release.pl index 607a5585900..388deab0d45 100755 --- a/scripts/release.pl +++ b/scripts/release.pl @@ -211,11 +211,11 @@ unless( $dopoint ) { run( "git commit -a -m 'Bump version to $newmajor.$newminor'", "bump version failed" ); } -my $topush = ($dopoint ? "" : "master ") . "$relbranch $reltag $ltrtag"; +my $topush = ($dopoint ? "" : "master ") . "$relbranch"; print "Push dry-run...\n"; -run( "git push -n origin $topush", "push dry run failed" ); -print "Now manually push and upload the tarballs :\n\tgit push origin $topush\n\trsync qgis-$version.tar.bz2* qgis.org:/var/www/downloads/\n\n"; +run( "git push -n --follow-tags origin $topush", "push dry run failed" ); +print "Now manually push and upload the tarballs :\n\tgit push --follow-tags origin $topush\n\trsync qgis-$version.tar.bz2* qgis.org:/var/www/downloads/\n\n"; =head1 NAME