From bd9e99d6988f969abcf5e125f87daa28ab36a6c8 Mon Sep 17 00:00:00 2001 From: Rene Cannao Date: Tue, 10 Mar 2026 01:56:01 +0000 Subject: [PATCH] Fix GIT_VERSION assignment to preserve version string in recursive make calls --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 374dbbd08..bea56fa49 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,7 @@ ifeq ($(PROXYSQL31),1) endif # Only increment version at the top-level make to avoid double-incrementing in recursive makes -GIT_VERSION := $(GIT_VERSION_BASE) +GIT_VERSION ?= $(GIT_VERSION_BASE) ifeq ($(MAKELEVEL),0) # Normalize GIT_VERSION by stripping leading 'v' for arithmetic GIT_VERSION_NORM := $(shell echo "$(GIT_VERSION_BASE)" | sed 's/^v//')