Automate checksum computation
[xonotic/xonotic.git] / misc / infrastructure / xonotic-release-build.cron
index 479746ac6d24fc637d00e06cb42e84afb33f7cf9..f3c414a052e1befd7916e135068573bd87801f89 100755 (executable)
@@ -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