Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 768 Bytes

CONTRIBUTING.md

File metadata and controls

28 lines (18 loc) · 768 Bytes

To release a new version automatically

Just push a version tag (e.g. v3.0.1) to Github.

To release a new version manually

  1. Install GoReleaser:

    brew install goreleaser/tap/goreleaser
  2. Create a new release tag:

    git tag -am 'vX.X.X' vX.X.X
    git push --tags

NB! Tags of the form vX.X.X-alpha.X will fail to upload to Chocolatey with a 504 GatewayTimeout error. The final dot is the problem; use vX.X.X-alphaX instead.

  1. Run GoReleaser:

    GoReleaser requires GITHUB_TOKEN to be set. If you have the gh tool installed you can probably re-use the token it uses, by calling gh auth token:

    GITHUB_TOKEN=$(gh auth token) goreleaser release --clean