From 025ddd7c1550a75e9e6f98ce2ed7f330cc49e758 Mon Sep 17 00:00:00 2001 From: Saed SayedAhmed <34514167+saedx1@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:27:18 -0500 Subject: [PATCH] Fix Makefile Bug (#6809) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b3b63b076..6eeced5ff 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