1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-25 21:29:14 +02:00

docs: semver

closes #750
This commit is contained in:
Carlos Alexandro Becker 2018-08-15 00:15:17 -03:00
parent 64b1f14a86
commit f4d0a61fdc
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 15 additions and 3 deletions

View File

@ -79,9 +79,7 @@ $ git tag -a v0.1.0 -m "First release"
$ git push origin v0.1.0
```
> **Attention**: Your tag should be a valid
> [semantic version](http://semver.org/). If it is not, it is likely things
> will fail.
> **Attention**: Check if your tag adheres to [semantic versioning](/semver).
If you don't want to create a tag yet, you can also create a release
based on the latest commit by using the `--snapshot` flag.

14
www/content/semver.md Normal file
View File

@ -0,0 +1,14 @@
---
title: Semantic Versioning
weight: 11
menu: true
---
GoReleaser enforces semantic versioning and will error on non compliant tags.
Your tag **should** be a valid [semantic version](http://semver.org/).
If it is not, GoReleaser will error.
The `v` prefix is not mandatory. You can check the [templating](/templates)
documentation to see how to use the tag or each part of the semantic version
in name templates.