mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
cibuild: run this on custom branches and not on tagged builds
This commit is contained in:
parent
d1904b2747
commit
462e700485
@ -118,8 +118,10 @@ def pypi_upload():
|
||||
sdist = glob.glob(os.path.join("dist/", 'svtplay_dl-*.tar.gz'))[0]
|
||||
subprocess.check_call(["twine", "upload", sdist])
|
||||
|
||||
logger.info("Branch: {}".format(branch()))
|
||||
logger.info("Tag: {}".format(tag()))
|
||||
|
||||
if branch() != "master":
|
||||
if not tag() and branch() != "master":
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user