Update xonotic-release-build.cron
authorbones_was_here <bones_was_here@xa.org.au>
Sat, 18 Jun 2022 08:09:27 +0000 (18:09 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Sat, 18 Jun 2022 08:09:27 +0000 (18:09 +1000)
misc/infrastructure/xonotic-release-build.cron

index 1adf318faa54c59abdfdeb50444535211078500c..5a5fd72c10f5afe75669cc16ae25c362de3648e8 100755 (executable)
@@ -39,7 +39,7 @@ fi
 
 set -ex
 
-ssh autobuild-release-uploader@beta.xonotic.org '
+test "$RELEASETYPE" = "autobuild" && ssh autobuild-release-uploader@beta.xonotic.org '
        set -e;
        s0=`date -d "now - 7 days - 12 hours" +%s`;
        s00=`date -d "now - 60 days - 12 hours" +%s`;
@@ -57,6 +57,7 @@ ssh autobuild-release-uploader@beta.xonotic.org '
                fi;
        done
 '
+
 cd ~/xonotic-release-build
 ./all clean --reclone
 # ./all checkout maint