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 c6b3e21 commit 385fed8Copy full SHA for 385fed8
Makefile
@@ -10,7 +10,7 @@ GOINSTALL := GO111MODULE=on go install -v
10
GOMOD := GO111MODULE=on go mod
11
12
COMMIT := $(shell git describe --abbrev=40 --dirty)
13
-LDFLAGS := -ldflags "-X $(PKG)/build.Commit=$(COMMIT)"
+LDFLAGS := -ldflags "-X $(PKG).Commit=$(COMMIT)"
14
DEV_TAGS = dev
15
16
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")
0 commit comments