From a33a90136915c9711bdd57b351398008e6169d72 Mon Sep 17 00:00:00 2001 From: Devan Goodwin Date: Wed, 11 May 2011 13:43:25 -0300 Subject: [PATCH] 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. --- src/tito/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tito/release.py b/src/tito/release.py index 95c1fbe..267759e 100644 --- a/src/tito/release.py +++ b/src/tito/release.py @@ -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)