From 16836605a62a8049620a71eaf64aeeb093973070 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Sun, 19 Jun 2022 19:58:02 +1000 Subject: [PATCH] Automate checksum computation --- misc/infrastructure/xonotic-release-build.cron | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/misc/infrastructure/xonotic-release-build.cron b/misc/infrastructure/xonotic-release-build.cron index 479746ac..f3c414a0 100755 --- a/misc/infrastructure/xonotic-release-build.cron +++ b/misc/infrastructure/xonotic-release-build.cron @@ -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 -- 2.39.2