RCLI
RCLI copied to clipboard
fix: auto-update Homebrew formula SHA on release
Summary
- CI now automatically updates
Formula/rcli.rbwith the exact SHA256 from the build after uploading the release tarball - Prevents checksum mismatch issues like #15 — no more manual formula edits
- Updated install instructions in release notes to use
brew install runanywhereai/rcli/rcli(one-liner, always fetches latest)
Fixes #15
What changed
.github/workflows/release.yml — added Update Homebrew formula step that:
- Extracts version from the git tag
- Uses the SHA256 computed during the Package step
- Updates
url,sha256, andversioninFormula/rcli.rbviased - Commits and pushes to
main
Rules going forward
- Never re-upload a tarball to an existing release — bump the version instead
- Never manually edit
Formula/rcli.rb— CI owns it