From 0c2d589109a58c15baf78a6890ad7492ab8d7238 Mon Sep 17 00:00:00 2001 From: Jesse Wattenbarger Date: Wed, 14 Jun 2023 15:00:38 -0400 Subject: [PATCH] Lazy init VERSION vars in Makefile (#14093) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 33e03fb561..8fad5c12bc 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ NPM_BIN ?= npm CHROMIUM_BIN=/tmp/chrome-linux/chrome GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD) MANAGEMENT_COMMAND ?= awx-manage -VERSION := $(shell $(PYTHON) tools/scripts/scm_version.py) +VERSION ?= $(shell $(PYTHON) tools/scripts/scm_version.py) # ansible-test requires semver compatable version, so we allow overrides to hack it COLLECTION_VERSION ?= $(shell $(PYTHON) tools/scripts/scm_version.py | cut -d . -f 1-3)