Skip to content

Commit a0ed246

Browse files
committed
build: fix commit tag
1 parent 550edee commit a0ed246

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
@@ -46,7 +46,7 @@ endif
4646
# We only return the part inside the double quote here to avoid escape issues
4747
# when calling the external release script. The second parameter can be used to
4848
# add additional ldflags if needed (currently only used for the release).
49-
make_ldflags = $(2) -X $(PKG).Commit=$(COMMIT)
49+
make_ldflags = $(2) -X main.Commit=$(COMMIT)
5050

5151
DEV_GCFLAGS := -gcflags "all=-N -l"
5252
LDFLAGS := -ldflags "$(call make_ldflags, ${tags}, -s -w)"

0 commit comments

Comments
 (0)