From 3d3b8ed9c309899093a3fe23986e4dbd2527351a Mon Sep 17 00:00:00 2001 From: Dendi Suhubdy <4477337+dendisuhubdy@users.noreply.github.com> Date: Sat, 21 Nov 2026 15:52:29 +0800 Subject: [PATCH] release: SHA256SUMS no longer lists itself MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The redirect created out/SHA256SUMS before ls ran, so v0.8.7's file had an e3b0c442… (empty) line for itself and `shasum -c` printed FAILED. Write it beside out/ and move it in. v0.8.7's asset was fixed by hand (line removed). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GFs5gyuBMf1nCmyHCP3AT8 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e5fe62f..a5b9f6f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -206,7 +206,7 @@ jobs: [ "v$VER" = "$GITHUB_REF_NAME" ] || { echo "tag $GITHUB_REF_NAME, but the manifests say $VER"; exit 1; } mkdir out find artifacts -type f -name 'rand-wallet-*' -exec cp {} out/ \; - ( cd out && LC_ALL=C ls | xargs sha256sum > SHA256SUMS && cat SHA256SUMS ) + ( cd out && LC_ALL=C ls | xargs sha256sum > ../SHA256SUMS && mv ../SHA256SUMS SHA256SUMS && cat SHA256SUMS ) # written outside out/, or it lists itself (empty) [ "$(ls out | wc -l)" -eq 16 ] || { echo "expected 15 packages and SHA256SUMS"; ls -la out; exit 1; } - name: Create or refill the draft env: