Skip to content

Commit

Permalink
phase1: make IsNoMasterBuild function more flexible
Browse files Browse the repository at this point in the history
Work with both master/main

Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
  • Loading branch information
aparcar committed Aug 7, 2024
1 parent a285dda commit c1aedf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phase1/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,8 @@ c["schedulers"].append(


def IsNoMasterBuild(step):
return step.getProperty("branch") != "main"
branch = step.getProperty("branch")
return branch not in ["main", "master"]


def IsUsignEnabled(step):
Expand Down

0 comments on commit c1aedf4

Please sign in to comment.