Skip to content

Commit

Permalink
Try linking to 'Azure secrets' to get the password to upload to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 4, 2020
1 parent d8ecce7 commit e5d5b7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ trigger:
include:
- '*'

variables:
- group: Azure secrets

jobs:

- job: 'Test'
Expand Down Expand Up @@ -58,5 +61,7 @@ jobs:

- script: |
tox -e release
env:
TWINE_PASSWORD: $(PyPI-token)
displayName: 'publish to PyPI'
condition: contains(variables['Build.SourceBranch'], 'tags')

0 comments on commit e5d5b7c

Please sign in to comment.