From 2f836aaf87a22f31b10a5169e392d9edf6af6d73 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Tue, 26 Apr 2022 11:30:22 +0200 Subject: [PATCH] uisng short hash for version var --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b57afee1..bdf59094 100644 --- a/Makefile +++ b/Makefile @@ -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)