File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,7 +282,8 @@ jobs:
282282 RELDATE="$(date +'%Y-%m-%d %H:%M')"
283283 NAME="Auto-Build $RELDATE"
284284 TAGNAME="autobuild-$(date +'%Y-%m-%d-%H-%M')"
285- gh release create "$TAGNAME" --target "master" --title "$NAME" artifacts/*.{zip,tar.xz}
285+ (cd artifacts && sha256sum *.{zip,tar.xz} > checksums.sha256)
286+ gh release create "$TAGNAME" --target "master" --title "$NAME" artifacts/*.{zip,tar.xz} artifacts/checksums.*
286287 echo "tag_name=${TAGNAME}" >> $GITHUB_OUTPUT
287288 echo "rel_date=${RELDATE}" >> $GITHUB_OUTPUT
288289 env :
@@ -293,6 +294,7 @@ jobs:
293294 shopt -s nullglob
294295 mkdir latest_artifacts
295296 ./util/repack_latest.sh latest_artifacts artifacts/*.{zip,tar.xz}
297+ (cd latest_artifacts && sha256sum *.{zip,tar.xz} > checksums.sha256)
296298 NAME="Latest Auto-Build (${{ steps.create_release.outputs.rel_date }})"
297299 TAGNAME="latest"
298300 gh release delete --cleanup-tag --yes "$TAGNAME" || true
You can’t perform that action at this time.
0 commit comments