]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Adjust autobuild retention again
authorbones_was_here <bones_was_here@xonotic.au>
Wed, 28 Aug 2024 13:17:13 +0000 (23:17 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 28 Aug 2024 13:17:13 +0000 (23:17 +1000)
misc/infrastructure/xonotic-release-build.cron

index 79c4cfada6acb425f7fe5c81c2c4e577901795da..9491caba6651d9c1532f403107d7f0179bcf7407 100755 (executable)
@@ -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