fix(release): use shasum -a 256 for cross-platform portability#11
Conversation
`sha256sum` is GNU coreutils, present on linux but not on macOS by default. The first falcon-v0.1.0 release run failed on x86_64-apple-darwin's Package step with `sha256sum: command not found`. Switching to `shasum -a 256` works on all three release platforms (ubuntu, macOS, windows-via-git-bash) and produces the identical SHA-256 hex output. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
running 9 tests test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [falcon-hello-demo] building release binary... running 33 tests test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 33 tests test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 33 tests test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 9 tests test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 9 tests test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s running 9 tests test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s falcon verification gate (filter: (has-tag "falcon"))3 artifact(s) matched: FV-FALCON-WORLD-001, FV-FALCON-MAVLINK-001, FV-FALCON-EKF-STUB-001[ PASS] ( 1.66s) FV-FALCON-WORLD-001: cargo test -p falcon-hello ✅ Rivet verification gate — falcon3/3 passed
Source of truth: |
Summary
The
falcon-v0.1.0release workflow run (id26077743087) failed at the Package step onx86_64-apple-darwinwith:sha256sumis GNU coreutils — present on Linux runners but not on macOS by default. Switching toshasum -a 256works on all three platforms (ubuntu, macos, windows via git-bash) and produces identical SHA-256 hex output.Test plan
falcon-v0.1.0tag (remote + local), re-tag at new main HEAD, push — release workflow re-runs against the fixed YAML and produces signed binaries + GitHub ReleaseNote on the broken tag
The current
falcon-v0.1.0tag on origin points atd30a5e3(the squash-merge of #9). That commit'srelease.ymlhas the brokensha256sum. After this PR lands, the tag needs to move to the new HEAD so it pulls in the fixed workflow:🤖 Generated with Claude Code