We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36298c commit 7ed26c3Copy full SHA for 7ed26c3
Makefile
@@ -4,11 +4,12 @@ CGO = 0
4
.PHONY: all
5
all: tkey-verification
6
7
+# APP_VERSION ?= $(shell git describe --dirty --always | sed -n "s/^v\(.*\)/\1/p")
8
APP_VERSION ?= $(shell git describe --dirty --always | sed -n "s/^v\(.*\)/\1/p")
9
# .PHONY to let go-build handle deps and rebuilds
10
.PHONY: tkey-verification
11
tkey-verification:
- CGO_ENABLED=$(CGO) go build -ldflags "-X main.version=$(APP_VERSION)" -trimpath -buildvcs=false ./cmd/tkey-verification
12
+ CGO_ENABLED=$(CGO) go build -ldflags "-w -X main.version=$(APP_VERSION) -buildid=" -trimpath -buildvcs=false ./cmd/tkey-verification
13
./tkey-verification --version
14
15
.PHONY: podman
0 commit comments