]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/infrastructure/xonotic-release-build.cron
demotc-race-record-extractor.sh: remove useless rc case (gametype name is always...
[xonotic/xonotic.git] / misc / infrastructure / xonotic-release-build.cron
index ef433c5498f7d1b17a4a23f5743815095ba58184..f9f16dacb3969b832132863cda013f883c1d39ae 100755 (executable)
@@ -31,7 +31,8 @@ export CACHEDIR=$HOME/.xonotic-cached-converter-crunch
 export dds_tool=crunch
 
 # Build locally.
-export HOSTS_THAT_ARE_MYSELF='xonotic-build-linux64 xonotic-build-win32 xonotic-build-win64 xonotic-build-osx'
+export HOSTS_THAT_ARE_MYSELF='xonotic-build-win32 xonotic-build-win64 xonotic-build-osx'
+export HOSTS_THAT_ARE_SCHROOT='xonotic-build-linux64'
 
 mepwd=$PWD
 me=$0
@@ -45,7 +46,7 @@ set -ex
 
 test -z "$RELEASETYPEDIR" && ssh autobuild-release-uploader@beta.xonotic.org '
        set -e;
-       s0=`date -d "now - 7 days - 12 hours" +%s`;
+       s0=`date -d "now - 30 days - 12 hours" +%s`;
        s00=`date -d "now - 60 days - 12 hours" +%s`;
        for X in * */*; do
                [ -f "$X" ] || continue;
@@ -56,6 +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
                        rm -f "$X";
                fi;