mirror of
https://github.com/Luzifer/yaml-vault.git
synced 2024-12-20 12:01:18 +00:00
add version number in GoBuilder builds
This commit is contained in:
parent
d91e484008
commit
c9dc99eaf6
1 changed files with 5 additions and 0 deletions
5
.gobuilder.yml
Normal file
5
.gobuilder.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
build_matrix:
|
||||
general:
|
||||
ldflags:
|
||||
- "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)"
|
||||
|
Loading…
Reference in a new issue