Skip to content

Commit

Permalink
Deploy to pypi instead of test
Browse files Browse the repository at this point in the history
  • Loading branch information
cboulay committed Apr 26, 2019
1 parent 9e1f748 commit c8fef0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ steps:
- task: TwineAuthenticate@0
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'))
inputs:
externalSources: '025cb3c4-642b-4fac-829c-fe8634f1a504' # -r testpypi
# externalSources: '5ba26794-ed5b-43b0-8414-7bb1416ec0ad' # -r pypi
externalSources: '5ba26794-ed5b-43b0-8414-7bb1416ec0ad' # -r pypi
# externalSources: '025cb3c4-642b-4fac-829c-fe8634f1a504' # -r testpypi

- script: 'python -m twine upload -r testpypi --config-file $(PYPIRC_PATH) --skip-existing dist/*'
- script: 'python -m twine upload -r pypi --config-file $(PYPIRC_PATH) --skip-existing dist/*'
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'))
displayName: 'Deploy to PyPI'

0 comments on commit c8fef0e

Please sign in to comment.