From 0157920146628f484697b61e13c30d20a54bcbba Mon Sep 17 00:00:00 2001 From: Saed SayedAhmed <34514167+saedx1@users.noreply.github.com> Date: Thu, 14 Nov 2024 08:34:15 -0500 Subject: [PATCH] Update Makefile Signed-off-by: Saed SayedAhmed <34514167+saedx1@users.noreply.github.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 010db8190f..295350748c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # variables that should not be overridden by the user VER = $(shell grep IC_VERSION .github/data/version.txt | cut -d '=' -f 2) -GIT_TAG = $(shell git tag --sort=-version:refname | head -n1 || echo untagged) +GIT_TAG = $(shell git describe --exact-match --tags || echo untagged) VERSION = $(VER)-SNAPSHOT PLUS_ARGS = --secret id=nginx-repo.crt,src=nginx-repo.crt --secret id=nginx-repo.key,src=nginx-repo.key