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 <[email protected]>
Signed-off-by: Christian Marangi <[email protected]>
  • Loading branch information
aparcar authored and Ansuel committed Jun 14, 2024
1 parent d7c977e commit 0c9848a
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 @@ -562,7 +562,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 0c9848a

Please sign in to comment.