use VERSION_TARGET for Swagger doc generation

This commit is contained in:
Ryan Petrello 2018-02-06 10:48:51 -05:00
parent 7ff9f0b7d1
commit 8b976031cb
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -367,7 +367,7 @@ swagger: reports
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/awx/bin/activate; \
fi; \
(set -o pipefail && py.test awx/conf/tests/functional awx/main/tests/functional/api awx/main/tests/docs --release=$(SWAGGER_RELEASE_VERSION:-$RELEASE_VERSION) | tee reports/$@.report)
(set -o pipefail && py.test awx/conf/tests/functional awx/main/tests/functional/api awx/main/tests/docs --release=$(VERSION_TARGET) | tee reports/$@.report)
check: flake8 pep8 # pyflakes pylint