summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Wattenbarger <jwattenb@redhat.com>2023-06-14 21:00:38 +0200
committerGitHub <noreply@github.com>2023-06-14 21:00:38 +0200
commit0c2d589109a58c15baf78a6890ad7492ab8d7238 (patch)
tree488be33d6b8951f442edd342d758188307fbe01c /Makefile
parentbugfix collection role module target_teams and instance_groups options (#14119) (diff)
downloadawx-0c2d589109a58c15baf78a6890ad7492ab8d7238.tar.xz
awx-0c2d589109a58c15baf78a6890ad7492ab8d7238.zip
Lazy init VERSION vars in Makefile (#14093)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)