From f0989005816f4100f582528b61d4e5406218515e Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Mon, 15 Jan 2024 19:29:24 -0800 Subject: [PATCH] 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. --- src/.bin/open-runelite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.bin/open-runelite.sh b/src/.bin/open-runelite.sh index a9806c8..1b5859b 100755 --- a/src/.bin/open-runelite.sh +++ b/src/.bin/open-runelite.sh @@ -23,7 +23,7 @@ MAX_AGE_BEFORE_REBUILD="$(( 18 * 60 * 60 ))" # 18 hours UPSTREAM_REMOTE='upstream' UPSTREAM_BRANCH='master' for branch in "${BRANCHES_TO_MERGE[@]}"; do - if grep -qE '^internal' <<< "$branch"; then + if grep -q 'internal' <<< "$branch"; then UPSTREAM_REMOTE='internal-upstream' UPSTREAM_BRANCH='internal' break