mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-24 04:32:46 +00:00
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:
parent
4ac2994e41
commit
a33a901369
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue