diff --git a/ci/make-afw.sh b/ci/make-afw.sh index dcec605..dbdf5b3 100755 --- a/ci/make-afw.sh +++ b/ci/make-afw.sh @@ -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"