1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

note about version

This commit is contained in:
Carlos Alexandro Becker 2017-01-30 14:22:39 -02:00
parent 954935823d
commit 797af410a4
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -110,9 +110,14 @@ GoReleaser uses the latest [Git tag](https://git-scm.com/book/en/v2/Git-Basics-T
Create a tag:
```console
$ git tag -a v0.1 -m "First release"
$ git tag -a v0.1.0 -m "First release"
```
**Note**: we recommend the use of [semantic versioning](http://semver.org/). We
are not enforcing it though. We do remove the `v` prefix and then enforce
that the next character is a number. So, `v0.1.0` and `0.1.0` are virtually the
same and are both accepted, while `version0.1.0` is not.
Now you can run GoReleaser at the root of your repository:
```console