File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ GITDESC := $(shell git describe --tags 2> /dev/null || echo unav
23
23
LAUNCHER_VERSION := $(shell git describe --tags --abbrev=0 --match "v[0-9]* .[0-9]* .[0-9]* " 2> /dev/null || echo unavailable)
24
24
GITBRANCH := $(shell git symbolic-ref -q --short HEAD || echo unknown)
25
25
GITHASH := $(shell git rev-parse --short=8 --verify HEAD || echo unknown)
26
- LDFLAGS := -s -X main.gitDescription=${GITDESC} -X main.gitBranch=${GITBRANCH} -X main.gitHash=${GITHASH} -X "github.com/setlog/trivrost/cmd/launcher/launcher.buildTime=$(shell date -u "+% Y-% m-% d % H:% M:% S UTC") "
26
+ LDFLAGS := -s -w - X main.gitDescription=${GITDESC} -X main.gitBranch=${GITBRANCH} -X main.gitHash=${GITHASH} -X "github.com/setlog/trivrost/cmd/launcher/launcher.buildTime=$(shell date -u "+% Y-% m-% d % H:% M:% S UTC") "
27
27
28
28
# Assume version is part of the tag. If not, default to v0.0.0
29
29
VERSIONOK := $(shell echo -n "${LAUNCHER_VERSION}" | grep -E ^v[0-9]+\.[0-9]+\.[0-9]+$$ && echo ok)
You can’t perform that action at this time.
0 commit comments