GoReleaser
1 min read
golang, continuous-delivery
Written in 2020. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/goreleaser-playground.
learn GoReleaser release automation tool for Go projects.
see https://goreleaser.com/quick-start/
Session
goreleaser --snapshot --skip-publish --rm-dist
export GITHUB_TOKEN='GITHUB_TOKEN'
# tag. release name is based on it
git tag -a v0.1.0 -m "First release"
git push origin v0.1.0
# run locally without publishing to github
goreleaser --snapshot --rm-dist
# build and publish
goreleaser