name: bump-homebrew description: >- Bump a formula or cask version in a Homebrew tap. Use when releasing a package, updating Formula/ or Casks/, or bumping download URLs and checksums.
Bump Homebrew Package
- Open
Formula/{name}.rborCasks/{name}.rb— read it first, keep its structure - Confirm the upstream release exists (stop if 404)
- Update
version,url/mirror,sha256, and version checks intestonly - Fetch checksums; verify at least one with
shasum -a 256
curl -sL "https://github.com/{owner}/{repo}/releases/download/v{VERSION}/checksums.txt"
curl -sL "<url>" | shasum -a 256
Dry run (default): show diff, verify checksums, no file edits, no commit.
Apply + commit: only when explicitly asked. Check git log -- <file> for message style.