Reduce RuneLite rebuild script max age to 18 hours

This will mean that a client built one morning will almost always yield
another build the next day (assuming there are changes for it to be
necessary) even if it goes from being built late one morning to early
the next morning. Despite that, 18 hours is still long enough that a
client build will be used for roughly a full day.
master
Jordan Atwood 1 year ago
parent 67a9d7f9f7
commit 61cac82fbd
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 2
      src/.bin/open-runelite.sh

@ -18,7 +18,7 @@ BRANCHES_TO_MERGE=(
quest-speedrunning-widget-overlays quest-speedrunning-widget-overlays
fixed-thrall-timer fixed-thrall-timer
) )
MAX_AGE_BEFORE_REBUILD="$(( 24 * 60 * 60 ))" # 1 day 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

Loading…
Cancel
Save