Skip to content

Commit 3200061

Browse files
committed
Fix git tag override not working
Signed-off-by: Xiaoxi He <[email protected]>
1 parent e161522 commit 3200061

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
@@ -198,7 +198,7 @@ endif
198198

199199
ifneq (${GIT_TAG},)
200200
IMAGE_TAG=${GIT_TAG}
201-
LDFLAGS += -X ${PACKAGE}.gitTag=${GIT_TAG}
201+
override LDFLAGS += -X ${PACKAGE}.gitTag=${GIT_TAG}
202202
else
203203
IMAGE_TAG?=latest
204204
endif

0 commit comments

Comments
 (0)