make-afw: emit SHA256SUMS for the built bundle so it cannot drift
The producer verified the bundle but never wrote the SHA256SUMS release artifact, so a stale file from a previous build could describe a different bundle. Write it (overwrite) from the finished file. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B1W6qHxYpv7yf7Ah57g4rQ
This commit is contained in:
@@ -139,4 +139,8 @@ fi
|
||||
|
||||
python3 "$ROOT/ci/check-afw.py" "$OUTPUT/$NAME" "${CHECK[@]}"
|
||||
|
||||
# Emit a SHA256SUMS covering exactly this bundle, so the release artifact can
|
||||
# never drift from the file it describes. Overwrite, do not append.
|
||||
( cd "$OUTPUT" && sha256sum "$NAME" > SHA256SUMS )
|
||||
|
||||
printf '%s\n' "$OUTPUT/$NAME"
|
||||
|
||||
Reference in New Issue
Block a user