Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 736 Bytes

release.md

File metadata and controls

43 lines (32 loc) · 736 Bytes

How to release apex

Install go and goreleaser

brew install go
brew install goreleaser/tap/goreleaser

For goreleaser to work, you must have GITHUB_TOKEN set in your environment to a Github token with full repo scope.

Install dependencies and update mod files

go get -u ./...
git add go.mod go.sum
git commit -m "Update dependencies"

Update the history, if needed

vi History.md
git add History.md
git commit History.md

Push a new tag

git push origin master
git tag -a v0.17.0 -m "Release v0.17.0"
git push origin v0.17.0

Build and upload the release

export GITHUB_TOKEN=...
make release