mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-01 13:07:49 +02:00
Merge branch 'master' into create-update-formulae
This commit is contained in:
commit
644e1ed8f4
@ -1,4 +1,4 @@
|
||||
# GoReleaser
|
||||
# GoReleaser
|
||||
|
||||
<img src="https://avatars2.githubusercontent.com/u/24697112?v=3&s=200" alt="goreleaser" align="right" />
|
||||
|
||||
@ -38,6 +38,9 @@ For that to work, you need to export a `GITHUB_TOKEN` environment variable with
|
||||
the `repo` scope selected. You can create one
|
||||
[here](https://github.com/settings/tokens/new).
|
||||
|
||||
GoReleaser uses the latest [Git tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging) of your repository,
|
||||
so you need to [create a tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging#Annotated-Tags) first.
|
||||
|
||||
This will build `main.go` as `my-binary`, for `Darwin` and `Linux`
|
||||
(`amd64` and `i386`), archive the binary and common files as `.tar.gz`,
|
||||
and finally, publish a new github release in the `user/repo` repository with
|
||||
|
Loading…
x
Reference in New Issue
Block a user