This tool uses Go Releaser to manage release builds.
Install Go Releaser.
brew install goreleaser/tap/goreleaser
- Make a New personal access token on GitHub and set it as the
GITHUB_TOKEN
environment variable
Tag the repo:
$ git tag -a v0.1.0 -m "release tag."
$ git push origin v0.1.0
Then:
GITHUB_TOKEN=xxx goreleaser --clean
To test and verify changes to Go Releaser config, use the following:
goreleaser --snapshot --skip=publish --clean