Use fedpkg switch branch for git releases.

The branch names have changed on us, this should be less likely to break
than using git branch switching.
This commit is contained in:
Devan Goodwin 2011-05-11 13:43:25 -03:00
parent 4ac2994e41
commit a33a901369

View file

@ -235,7 +235,7 @@ class FedoraGitReleaser(Releaser):
for branch in self.git_branches[1:]:
print("Merging %s into %s" % (main_branch, branch))
run_command("git checkout %s" % branch)
run_command("fedpkg switch-branch %s" % branch)
run_command("git merge %s" % main_branch)
cmd = "git push origin %s:%s" % (branch, branch)