mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Require LICENSE_TIER to specify the license filename
Previously, LICENSE_TIER was used to generate the license file by appending '.json'.
This commit is contained in:
parent
ab7c65df1d
commit
df9be04a20
4
Makefile
4
Makefile
@ -10,7 +10,7 @@ VERSION=$(shell $(PYTHON) -c "from awx import __version__; print(__version__.spl
|
||||
RELEASE=$(shell $(PYTHON) -c "from awx import __version__; print(__version__.split('-')[1])")
|
||||
|
||||
# Allow AMI license customization
|
||||
LICENSE_TIER ?= 10
|
||||
LICENSE_TIER ?= 10.json
|
||||
|
||||
ifneq ($(OFFICIAL),yes)
|
||||
BUILD=dev$(DATE)
|
||||
@ -197,7 +197,7 @@ deb: sdist
|
||||
(cd $(DEB_BUILD_DIR) && PKG_RELEASE=$(DEB_PKG_RELEASE) dpkg-buildpackage -nc -us -uc -b --changes-option="-fdebian/realfiles")
|
||||
|
||||
ami:
|
||||
(cd packaging/ami && $(PACKER) build $(PACKER_BUILD_OPTS) -var "aws_license=$(LICENSE_TIER).json" ansible-tower.json)
|
||||
(cd packaging/ami && $(PACKER) build $(PACKER_BUILD_OPTS) -var "aws_license=$(LICENSE_TIER)" ansible-tower.json)
|
||||
|
||||
install:
|
||||
$(PYTHON) setup.py install egg_info -b ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user