diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 558d068ad..0ccc45d0c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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/')