From 0d832e01977da30febf47da9a54323f9b1cd403b Mon Sep 17 00:00:00 2001 From: Jorin Vogel Date: Sat, 14 Jan 2017 14:01:45 +0100 Subject: [PATCH] Mention Git tags. Closes #68. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 51bcf0fc5..dec42d53d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# GoReleaser +# GoReleaser goreleaser @@ -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