Skip to content

fix(release): keep checksum log out of captured sha - #160

Merged
joshuaboys merged 1 commit into
mainfrom
fix/homebrew-formula-sha
Oct 21, 2026
Merged

joshuaboys merged 1 commit into
mainfrom
fix/homebrew-formula-sha

Conversation

@joshuaboys

Copy link
Copy Markdown
Contributor

Summary

  • scripts/generate-homebrew-formula.sh: fetch_sha256 printed its "Fetching checksum: " line to stdout, so $(fetch_sha256 ...) captured it along with the hash. The URL's slashes then broke the sed s/.../.../ substitution (unknown option to 's'), failing the v0.4.0 open homebrew-tap PR job.
  • The log line now goes to stderr.

Test

  • Ran ./scripts/generate-homebrew-formula.sh v0.4.0 locally: the formula gets version 0.4.0 and the four correct checksums (diff reverted, not committed).

The v0.4.0 tap PR is opened separately from a local run, since re-running the release job would use the tagged (unfixed) script.

🤖 Generated with Claude Code

fetch_sha256 logged its sidecar URL to stdout, so the value captured by
$(fetch_sha256 ...) included the log line. The URL's slashes then broke
the sed substitution and the v0.4.0 homebrew-tap-pr job failed. Send the
log line to stderr.
@joshuaboys
joshuaboys merged commit 3e6bd78 into main Oct 21, 2026
7 checks passed
@joshuaboys
joshuaboys deleted the fix/homebrew-formula-sha branch October 21, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant