1
0
Fork 0
mirror of https://github.com/Luzifer/yaml-vault.git synced 2024-12-30 00:31:21 +00:00

add version number in GoBuilder builds

This commit is contained in:
Knut Ahlers 2016-07-11 18:32:14 +02:00
parent d91e484008
commit c9dc99eaf6
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

5
.gobuilder.yml Normal file
View file

@ -0,0 +1,5 @@
build_matrix:
general:
ldflags:
- "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)"