From 227e39fd929165c37b33b3f891fa20bfc7ce22b1 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Wed, 16 Aug 2023 11:02:35 +0000 Subject: [PATCH] Allow custom GIT_TAG --- podman.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman.mk b/podman.mk index 28a699d..62d11b1 100644 --- a/podman.mk +++ b/podman.mk @@ -1,5 +1,5 @@ # Parse version from latest git semver tag -GIT_TAG := $(shell git describe --tags --match v*.*.* 2>/dev/null || git rev-parse --short HEAD 2>/dev/null) +GIT_TAG ?= $(shell git describe --tags --match v*.*.* 2>/dev/null || git rev-parse --short HEAD 2>/dev/null) GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null | sed -e 's/[^a-zA-Z0-9]/-/g') TAG := $(GIT_TAG)