Skip to content

Commit b3ca5cb

Browse files
committed
Upd: makefile
1 parent bebea42 commit b3ca5cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ ifdef VERSION
1313
endif
1414
BINARY_VERSION ?= $(GIT_TAG)
1515

16-
ifneq ($(BINARY_VERSION),"")
16+
ifeq ($(BINARY_VERSION),)
1717
# If cannot find any information that can be used as a version number, change it to debug
18-
BINARY_VERSION = "debug"
18+
BINARY_VERSION := "debug"
1919
endif
2020

2121
LDFLAGS += -X '$(CMD_PACKAGE).Version=$(BINARY_VERSION)'

0 commit comments

Comments
 (0)