moq/releasing.md
Suhas Karanth ef8b268d53
Universal binaries for macOS (#159)
A special format that contains both arm64 and amd64 executables in a single file
2021-11-14 16:39:42 +05:30

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