]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Import updated release build script.
authorRudolf Polzer <divVerent@gmail.com>
Thu, 8 Jul 2021 19:23:37 +0000 (21:23 +0200)
committerRudolf Polzer <divVerent@gmail.com>
Thu, 8 Jul 2021 19:23:37 +0000 (21:23 +0200)
misc/infrastructure/xonotic-release-build.cron

index 6aac0ccd934a1a60e7debbeba7b9e27ac2b286b1..5bd4aeae70c3a9fe57cf7657844427f78f4e4bae 100755 (executable)
@@ -36,7 +36,8 @@ fi
 
 set -ex
 
-ssh autobuild-release-uploader@beta.xonotic.org '
+# TODO re-enable this cleanup script
+: ssh autobuild-release-uploader@beta.xonotic.org '
        set -e;
        cd HTML/autobuild/;
        s0=`date -d "now - 7 days - 12 hours" +%s`;
@@ -79,13 +80,13 @@ while HEAD -C xonotic:g-23 http://beta.xonotic.org/autobuild/"$RELEASETYPEDIR""X
        i=$(($i+1))
        d="$d0"_"$i"
 done
-RELEASEDATE=$d xvfb-run ./all release
+RELEASEDATE=$d ./all release
 for X in Xonotic-$d*.zip; do
        ln -snf "$X" "Xonotic-latest${X#Xonotic-$d}"
 done
-rsync -vaSHP Xonotic*.zip autobuild-release-uploader@beta.xonotic.org:HTML/autobuild/"$RELEASETYPEDIR"
+rsync -vaSHP Xonotic*.zip autobuild-release-uploader@beta.xonotic.org:"$RELEASETYPEDIR"
 if [ -z "$RELEASETYPEDIR" ]; then
-       ssh autobuild-release-uploader@beta.xonotic.org sh update-rsync.sh "$d"
+       ssh autobuild-release-uploader@beta.xonotic.org sh ../../update-rsync.sh "$d"
 fi
 echo "Finished a new $RELEASETYPENAME at http://beta.xonotic.org/autobuild/$RELEASETYPEDIR" | $IRCSPAM
 cd