mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-25 21:29:14 +02:00
parent
64b1f14a86
commit
f4d0a61fdc
@ -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
14
www/content/semver.md
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user