Fix VERSION reported in dev container

This commit is contained in:
Shane McDonald 2019-11-25 12:55:55 -05:00
parent bc7ae4ca46
commit 15bcea7301
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -364,7 +364,7 @@ check: flake8 pep8 # pyflakes pylint
awx-link:
cp -R /tmp/awx.egg-info /awx_devel/ || true
sed -i "s/placeholder/$(shell git describe --long | sed 's/\./\\./g')/" /awx_devel/awx.egg-info/PKG-INFO
sed -i "s/placeholder/$(shell cat VERSION)/" /awx_devel/awx.egg-info/PKG-INFO
cp -f /tmp/awx.egg-link /venv/awx/lib/python$(PYTHON_VERSION)/site-packages/awx.egg-link
TEST_DIRS ?= awx/main/tests/unit awx/main/tests/functional awx/conf/tests awx/sso/tests