Skip to content

Commit 385fed8

Browse files
committed
make: fix commit ldflag
1 parent c6b3e21 commit 385fed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ GOINSTALL := GO111MODULE=on go install -v
1010
GOMOD := GO111MODULE=on go mod
1111

1212
COMMIT := $(shell git describe --abbrev=40 --dirty)
13-
LDFLAGS := -ldflags "-X $(PKG)/build.Commit=$(COMMIT)"
13+
LDFLAGS := -ldflags "-X $(PKG).Commit=$(COMMIT)"
1414
DEV_TAGS = dev
1515

1616
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")

0 commit comments

Comments
 (0)