mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 23:24:16 +01:00
cibuild: only build docker on linux and exit when cibuild is no
This commit is contained in:
parent
192a3a042b
commit
2920bb9965
@ -103,11 +103,17 @@ def pypi_upload():
|
|||||||
logger.info("Branch: {}".format(branch()))
|
logger.info("Branch: {}".format(branch()))
|
||||||
logger.info("Tag: {}".format(tag()))
|
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)
|
sys.exit(0)
|
||||||
|
|
||||||
build_package()
|
build_package()
|
||||||
build_docker()
|
|
||||||
|
if os.environ.get("OS").startswith("ubuntu"):
|
||||||
|
build_docker()
|
||||||
|
|
||||||
aws_upload()
|
aws_upload()
|
||||||
|
|
||||||
if tag() and os.environ.get("OS").startswith("ubuntu"):
|
if tag() and os.environ.get("OS").startswith("ubuntu"):
|
||||||
|
Loading…
Reference in New Issue
Block a user