Skip to content

Commit 919c54e

Browse files
committedMay 4, 2016
release.pl: don't created branches from tag names
1 parent 99e5352 commit 919c54e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎scripts/release.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,11 @@ ($$)
211211
run( "git commit -a -m 'Bump version to $newmajor.$newminor'", "bump version failed" );
212212
}
213213

214-
my $topush = ($dopoint ? "" : "master ") . "$relbranch $reltag $ltrtag";
214+
my $topush = ($dopoint ? "" : "master ") . "$relbranch";
215215

216216
print "Push dry-run...\n";
217-
run( "git push -n origin $topush", "push dry run failed" );
218-
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";
217+
run( "git push -n --follow-tags origin $topush", "push dry run failed" );
218+
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";
219219

220220

221221
=head1 NAME

0 commit comments

Comments
 (0)