mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 10:15:35 +01:00
fix git tag bug
This commit is contained in:
parent
b7340ebbce
commit
626123b66f
2
Makefile
2
Makefile
@ -168,7 +168,7 @@ VERSIONFILEPATH=$(CURDIR)
|
|||||||
VERSIONFILENAME=VERSION
|
VERSIONFILENAME=VERSION
|
||||||
GITCMD=$(shell which git)
|
GITCMD=$(shell which git)
|
||||||
GITTAG=$(GITCMD) describe --tags
|
GITTAG=$(GITCMD) describe --tags
|
||||||
GITTAGVERSION=$(shell $(GITTAG))
|
GITTAGVERSION=$(shell git describe --tags || echo UNKNOWN)
|
||||||
ifeq ($(DEVFLAG), true)
|
ifeq ($(DEVFLAG), true)
|
||||||
VERSIONTAG=dev
|
VERSIONTAG=dev
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user