Skip to content

Commit

Permalink
azure
Browse files Browse the repository at this point in the history
  • Loading branch information
cboulay committed Apr 26, 2019
1 parent 46de515 commit a8842fd
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,12 @@ steps:
displayName: 'Build Wheel'

- task: TwineAuthenticate@0
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'))
inputs:
externalSources: '025cb3c4-642b-4fac-829c-fe8634f1a504' # test-pypi
# externalSources: '5ba26794-ed5b-43b0-8414-7bb1416ec0ad' # regular pypi

- script: |
cat $(PYPIRC_PATH)
pwd
ls -all
ls dist/*
displayName: 'deleteme'
externalSources: '025cb3c4-642b-4fac-829c-fe8634f1a504' # -r testpypi
# externalSources: '5ba26794-ed5b-43b0-8414-7bb1416ec0ad' # -r pypi

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

0 comments on commit a8842fd

Please sign in to comment.