Skip to content

Commit ff81b82

Browse files
committed
release.pl: don't created branches from tag names
(cherry picked from commit 919c54e)
1 parent dd136f6 commit ff81b82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/release.pl

+3-3
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,11 @@ ($$)
202202
run( "git commit -a -m 'Bump version to $newmajor.$newminor'", "bump version failed" );
203203
}
204204

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

207207
print "Push dry-run...\n";
208-
run( "git push -n origin $topush", "push dry run failed" );
209-
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";
208+
run( "git push -n --follow-tags origin $topush", "push dry run failed" );
209+
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";
210210

211211

212212
=head1 NAME

0 commit comments

Comments
 (0)