Build on internal for any internal-named dev branch

Not all the internal branches I build end up being prepended with
internal, sometimes the word is infixed or suffixed.
master
Jordan Atwood 9 months ago
parent 45da1c4dd1
commit f098900581
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 2
      src/.bin/open-runelite.sh

@ -23,7 +23,7 @@ MAX_AGE_BEFORE_REBUILD="$(( 18 * 60 * 60 ))" # 18 hours
UPSTREAM_REMOTE='upstream' UPSTREAM_REMOTE='upstream'
UPSTREAM_BRANCH='master' UPSTREAM_BRANCH='master'
for branch in "${BRANCHES_TO_MERGE[@]}"; do for branch in "${BRANCHES_TO_MERGE[@]}"; do
if grep -qE '^internal' <<< "$branch"; then if grep -q 'internal' <<< "$branch"; then
UPSTREAM_REMOTE='internal-upstream' UPSTREAM_REMOTE='internal-upstream'
UPSTREAM_BRANCH='internal' UPSTREAM_BRANCH='internal'
break break

Loading…
Cancel
Save