Whatever the alias order, release into rawhide first

Follow-up after PR #476
This commit is contained in:
Jakub Kadlcik 2024-01-28 14:07:27 +01:00 committed by Jakub Kadlčík
parent 5b05b611a7
commit 53403f1d05

View file

@ -115,6 +115,12 @@ class FedoraGitReleaser(Releaser):
if name in aliases:
branches = [x.branch for x in aliases[name]]
result.extend(branches)
# It is probably a good idea to release into rawhide first
if "rawhide" in result:
result.remove("rawhide")
result.insert(0, "rawhide")
return result
def _get_build_target_for_branch(self, branch):