From: bones_was_here Date: Wed, 28 Aug 2024 13:17:13 +0000 (+1000) Subject: Adjust autobuild retention again X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a9839e9fc6a264a3260e1347f1bc6b33dede9e44;p=xonotic%2Fxonotic.git Adjust autobuild retention again --- diff --git a/misc/infrastructure/xonotic-release-build.cron b/misc/infrastructure/xonotic-release-build.cron index 79c4cfad..9491caba 100755 --- a/misc/infrastructure/xonotic-release-build.cron +++ b/misc/infrastructure/xonotic-release-build.cron @@ -57,8 +57,7 @@ test -z "$RELEASETYPEDIR" && ssh autobuild-release-uploader@beta.xonotic.org ' [ x"$d" != x"latest" ] || continue; w=`date -d $d +%w`; s=`date -d $d +%s`; - w=$(($w % 2)); - if [ "$w" -ne 0 -a "$s" -lt "$s0" -o "$s" -lt "$s00" ]; then + if [ "$w" -ne 0 -a "$w" -ne 6 -a "$s" -lt "$s0" -o "$s" -lt "$s00" ]; then rm -f "$X"; fi; done