1
0
mirror of https://github.com/Luzifer/elb-instance-status.git synced 2024-09-19 15:12:57 +00:00

Bake in the version when using gobuilder

This commit is contained in:
Knut Ahlers 2016-06-03 13:18:07 +02:00
parent ff2a561048
commit 4b1cd33947
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

4
.gobuilder.yml Normal file
View File

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