Do not error on git describe if tags are missing
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
a75aeeb8f9
commit
92469f11b2
2
Makefile
2
Makefile
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
GOBUILDLDFLAGS="-X main.Version=`git describe --dirty`"
|
GOBUILDLDFLAGS="-X main.Version=`git describe --always --dirty`"
|
||||||
#GOBUILDLDFLAGS="-X main.Version=`git describe --dirty` -linkmode 'external' -extldflags '-static'"
|
#GOBUILDLDFLAGS="-X main.Version=`git describe --dirty` -linkmode 'external' -extldflags '-static'"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
Loading…
Reference in New Issue
Block a user