mirror of
https://github.com/therootcompany/go-gitver.git
synced 2025-04-20 06:10:47 +00:00
whitespace fix
This commit is contained in:
parent
82ec670e8a
commit
6dace8255b
@ -6,7 +6,8 @@ Use **git tags** to add [**semver**](https://semver.org/) to your go package in
|
|||||||
Goals:
|
Goals:
|
||||||
|
|
||||||
1. Use an exact `git tag` version, like v1.0.0, when clean
|
1. Use an exact `git tag` version, like v1.0.0, when clean
|
||||||
2. Translate the `git describe` version (v1.0.0-4-g0000000) to semver (v1.0.1-pre4+g0000000) in between releases
|
2. Translate the `git describe` version (v1.0.0-4-g0000000)
|
||||||
|
to semver (v1.0.1-pre4+g0000000) in between releases
|
||||||
3. Note when `dirty` (and have build timestamp)
|
3. Note when `dirty` (and have build timestamp)
|
||||||
|
|
||||||
Fail gracefully when git repo isn't available.
|
Fail gracefully when git repo isn't available.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user