Azure: do not deploy to pypi unless tagged

This commit is contained in:
Thomas Ferreira de Lima 2019-04-03 20:27:38 -04:00
parent 1c56f3e3a4
commit 2c3e04b652
No known key found for this signature in database
GPG Key ID: 43E98870EAA0A86E
1 changed files with 1 additions and 0 deletions

View File

@ -166,4 +166,5 @@ jobs:
TWINE_PASSWORD: $(TWINE_PASSWORD)
TWINE_REPOSITORY_URL: $(TWINE_REPOSITORY_URL)
displayName: 'Uploading to PyPI'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')