1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

cibuild: only build docker on linux and exit when cibuild is no

This commit is contained in:
Johan Andersson 2020-09-10 20:21:44 +02:00
parent 192a3a042b
commit 2920bb9965

View File

@ -103,11 +103,17 @@ def pypi_upload():
logger.info("Branch: {}".format(branch()))
logger.info("Tag: {}".format(tag()))
if not tag() and branch() != "master" and os.environ.get("CIBUILD") != "yes":
if not tag() and branch() != "master":
sys.exit(0)
if os.environ.get("CIBUILD") != "yes":
sys.exit(0)
build_package()
if os.environ.get("OS").startswith("ubuntu"):
build_docker()
aws_upload()
if tag() and os.environ.get("OS").startswith("ubuntu"):