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]>
  • Loading branch information
aparcar committed Jun 14, 2024
1 parent d7c977e commit 98c6e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phase1/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +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):
branch = step.getProperty("branch")
Expand Down

0 comments on commit 98c6e16

Please sign in to comment.