X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=misc%2Finfrastructure%2Fxonotic-release-build.cron;h=f3c414a052e1befd7916e135068573bd87801f89;hp=5a5fd72c10f5afe75669cc16ae25c362de3648e8;hb=16836605a62a8049620a71eaf64aeeb093973070;hpb=78b3451cf2f330a1e0443ad07655683daf93e5bf diff --git a/misc/infrastructure/xonotic-release-build.cron b/misc/infrastructure/xonotic-release-build.cron index 5a5fd72c..f3c414a0 100755 --- a/misc/infrastructure/xonotic-release-build.cron +++ b/misc/infrastructure/xonotic-release-build.cron @@ -39,7 +39,7 @@ fi set -ex -test "$RELEASETYPE" = "autobuild" && ssh autobuild-release-uploader@beta.xonotic.org ' +test -z "$RELEASETYPEDIR" && 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`; @@ -83,10 +83,12 @@ while HEAD -C xonotic:g-23 http://beta.xonotic.org/autobuild/"$RELEASETYPEDIR""X d="$d0"_"$i" done RELEASEDATE=$d ./all release +sha512sum Xonotic-$d*.zip > Xonotic-$d.sha512 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:"$RELEASETYPEDIR" +ln -snf Xonotic-$d.sha512 Xonotic-latest.sha512 +rsync -vaSHP Xonotic*.zip Xonotic*.sha512 autobuild-release-uploader@beta.xonotic.org:"$RELEASETYPEDIR" if [ -z "$RELEASETYPEDIR" ]; then ssh autobuild-release-uploader@beta.xonotic.org sh ../../update-rsync.sh "$d" fi