mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Lazy init VERSION vars in Makefile (#14093)
This commit is contained in:
parent
a47bbb5479
commit
0c2d589109
2
Makefile
2
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user