stash/vendor/github.com/matryer/moq/releasing.md
2022-11-07 12:33:15 +11:00

597 B

Releasing

This tool uses Go Releaser to manage release builds.

Setup

Install Go Releaser.

brew install goreleaser/tap/goreleaser

Releasing

Tag the repo:

$ git tag -a v0.1.0 -m "release tag."
$ git push origin v0.1.0

Then:

GITHUB_TOKEN=xxx goreleaser --rm-dist

Testing

To test and verify changes to Go Releaser config, use the following:

goreleaser --snapshot --skip-publish --rm-dist