From a9839e9fc6a264a3260e1347f1bc6b33dede9e44 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Wed, 28 Aug 2024 23:17:13 +1000 Subject: [PATCH] Adjust autobuild retention again --- misc/infrastructure/xonotic-release-build.cron | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.2