Fix GIT_VERSION assignment to preserve version string in recursive make calls

pull/5446/head
Rene Cannao 2 months ago
parent c5ccb0fb19
commit bd9e99d698

@ -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//')

Loading…
Cancel
Save