Remove VERSION files, obtain version from git tags.

This commit is contained in:
Shane McDonald
2021-10-05 10:41:18 -04:00
parent a036363e85
commit 1f0b936e82
6 changed files with 57 additions and 12 deletions

View File

@@ -6,7 +6,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 cat VERSION)
VERSION := $(shell $(PYTHON) setup.py --version)
# NOTE: This defaults the container image version to the branch that's active
COMPOSE_TAG ?= $(GIT_BRANCH)