mirror of
https://github.com/Luzifer/ots.git
synced 2024-12-18 20:14:39 -05:00
Fix: Baked in version-string empty in build-local
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3ebc896169
commit
391e9a85ce
2
Makefile
2
Makefile
@ -6,7 +6,7 @@ default: generate download_libs
|
|||||||
build-local: download_libs generate-inner generate-apidocs
|
build-local: download_libs generate-inner generate-apidocs
|
||||||
go build \
|
go build \
|
||||||
-buildmode=pie \
|
-buildmode=pie \
|
||||||
-ldflags "-s -w -X main.version=$(git describe --tags --always || echo dev)" \
|
-ldflags "-s -w -X main.version=$(shell git describe --tags --always || echo dev)" \
|
||||||
-mod=readonly \
|
-mod=readonly \
|
||||||
-trimpath
|
-trimpath
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user