This mirrors the stamp pipeline so we can tag v0.1.0 confidently.
.goreleaser.yml– builds macOS/Linux (amd64+arm64), adds ldflags for version info, and updates the Homebrew tap..github/workflows/release.yml– GitHub Actions workflow that runs onv*tags, runs tests, and invokes GoReleaser.Formula/whoopy.rb– reference Homebrew formula template to copy intototocaster/homebrew-tap.
- Homebrew tap – ensure
https://github.com/totocaster/homebrew-tapexists (public) with aFormula/dir. CopyFormula/whoopy.rbthere on first release; GoReleaser will keep it updated afterward. - Secrets –
HOMEBREW_TAP_TOKENis already set in repo secrets (thanks!). Nothing else required for release.
# ensure tree is clean
git status
# update docs/changelog as needed, commit, push
# tag and push
git tag -a v0.1.0 -m "whoopy v0.1.0"
git push origin v0.1.0The release workflow runs automatically. Watch it under Actions → Release.
- Check https://github.com/totocaster/whoopy/releases for uploaded archives + checksums.
- Verify the tap repo gained an updated
Formula/whoopy.rb. - Test install:
brew tap totocaster/tap brew install whoopy whoopy --version
Same as above: merge your work, tag v0.x.y, push the tag, watch GoReleaser do the rest.
- GoReleaser docs: https://goreleaser.com
- Stamp release playbook:
~/Developer/stamp/RELEASE_SETUP.md