uisng short hash for version var

This commit is contained in:
Christian Goll
2022-04-26 11:30:22 +02:00
parent 0a9e4b89a1
commit 2f836aaf87

View File

@@ -13,7 +13,7 @@ VARLIST := OS
VARLIST += WAREWULF VERSION RELEASE
WAREWULF ?= warewulf
VERSION ?= 4.3.0rc2
GIT_TAG := $(shell test -e .git && git describe --tags --long --first-parent --always)
GIT_TAG := $(shell test -e .git && git log -1 --format="%h")
ifdef GIT_TAG
ifdef $(filter $(OS),ubuntu debian)