Fixes issue in makefile that made it so VERSION file was never referenced
This commit is contained in:
parent
d7a08268b0
commit
573eb0d230
2
Makefile
2
Makefile
|
@ -14,7 +14,7 @@ test : GOCMD := go1.11.13
|
|||
BUILD_TIME := ${shell date "+%Y-%m-%dT%H:%M%z"}
|
||||
|
||||
# If VERSION is empty or not defined use the contents of the VERSION file
|
||||
VERSION := ${shell git describe --tags 2> /dev/null}
|
||||
VERSION := ${shell git describe --exact-match 2> /dev/null}
|
||||
ifndef VERSION
|
||||
VERSION := ${shell cat ./VERSION}
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue