Skip to content

Commit

Permalink
Whatever the alias order, release into rawhide first
Browse files Browse the repository at this point in the history
Follow-up after PR #476
  • Loading branch information
FrostyX committed Jan 28, 2024
1 parent 5b05b61 commit 17f6987
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tito/release/distgit.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ def _branches(self):
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):
Expand Down

0 comments on commit 17f6987

Please sign in to comment.