Update the tag format in the release steps (#348)

Go modules requires that the tag starts with a `v`.

Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
Cosmin Cojocar 2019-09-09 13:11:32 +02:00 committed by Grant Murphy
parent 992f173356
commit fde1f82f34

View file

@ -218,7 +218,7 @@ make test
Make sure you have installed the [goreleaser](https://github.com/goreleaser/goreleaser) tool and then you can release gosec as follows: Make sure you have installed the [goreleaser](https://github.com/goreleaser/goreleaser) tool and then you can release gosec as follows:
```bash ```bash
git tag 1.0.0 git tag v1.0.0
export GITHUB_TOKEN=<YOUR GITHUB TOKEN> export GITHUB_TOKEN=<YOUR GITHUB TOKEN>
make release make release
``` ```
@ -233,7 +233,7 @@ gosec analyzes Go source code to look for common programming mistakes that
can lead to security problems. can lead to security problems.
VERSION: 1.0.0 VERSION: 1.0.0
GIT TAG: 1.0.0 GIT TAG: v1.0.0
BUILD DATE: 2018-04-27T12:41:38Z BUILD DATE: 2018-04-27T12:41:38Z
``` ```