Use correct filenames in -latest* checksum files
authorbones_was_here <bones_was_here@xa.org.au>
Sun, 19 Jun 2022 12:06:06 +0000 (22:06 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Sun, 19 Jun 2022 12:06:44 +0000 (22:06 +1000)
misc/infrastructure/xonotic-release-build.cron

index f3c414a052e1befd7916e135068573bd87801f89..f3662df53cc275e1266bc23455df196769790be1 100755 (executable)
@@ -87,7 +87,7 @@ sha512sum Xonotic-$d*.zip > Xonotic-$d.sha512
 for X in Xonotic-$d*.zip; do
        ln -snf "$X" "Xonotic-latest${X#Xonotic-$d}"
 done
 for X in Xonotic-$d*.zip; do
        ln -snf "$X" "Xonotic-latest${X#Xonotic-$d}"
 done
-ln -snf Xonotic-$d.sha512 Xonotic-latest.sha512
+sha512sum Xonotic-latest*.zip > 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"
 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"