Releasing
This project is configured for GoReleaser.
Prerequisites
- Create a GitHub personal access token with
reposcope and export asGITHUB_TOKENin your shell. - Ensure a clean working tree and a tagged commit.
- Install goreleaser: https://goreleaser.com/install/
Snapshot builds
Generate local artifacts without publishing:
goreleaser release --snapshot --clean
Artifacts appear under dist/.
Full release
- Tag a new version:
git tag -a v0.1.0 -m "v0.1.0"git push origin v0.1.0- Run GoReleaser:
GITHUB_TOKEN=... goreleaser release --clean
This will: - Build binaries for multiple OS/ARCH - Produce checksums and archives - Create/update a GitHub Release with changelog - Optionally publish a Homebrew formula (if repository exists and permissions allow)
Notes
- The Go toolchain version is 1.25 (see go.mod and go.work).