Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions eng/pipelines/templates/stages/archetype-python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ stages:
targetFolder: "$(Pipeline.Workspace)/esrp-release/${{parameters.ArtifactName}}/${{artifact.name}}"

- ${{ if ne(parameters.PublicFeed, 'PyPi') }}:
- task: TwineAuthenticate@0
- task: TwineAuthenticate@1
displayName: 'Authenticate to feed: ${{parameters.PublicFeed}}'
inputs:
artifactFeeds: ${{parameters.PublicFeed}}
artifactFeed: ${{parameters.PublicFeed}}

- script: |
set -e
Expand All @@ -170,10 +170,10 @@ stages:
echo "Uploaded sdist to devops feed"
displayName: 'Publish package to feed: ${{parameters.PublicFeed}}'

- task: TwineAuthenticate@0
- task: TwineAuthenticate@1
displayName: 'Authenticate to feed: ${{parameters.DevFeedName}}'
inputs:
artifactFeeds: ${{parameters.DevFeedName}}
artifactFeed: ${{parameters.DevFeedName}}

- script: |
set -e
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ extends:
python -m pip install twine
displayName: Install Twine

- task: TwineAuthenticate@0
- task: TwineAuthenticate@1
displayName: 'Twine Authenticate to feed'
inputs:
artifactFeeds: ${{ parameters.FeedName }}
artifactFeed: ${{ parameters.FeedName }}

- task: PipAuthenticate@1
displayName: 'Pip Authenticate to feed'
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/templates/steps/auth-dev-feed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ steps:
displayName: Setup DevOpsFeedName

- ${{ if eq(parameters.EnableTwineAuth, true) }}:
- task: TwineAuthenticate@0
- task: TwineAuthenticate@1
displayName: 'Twine Authenticate to feed'
inputs:
artifactFeeds: $(DevFeedName)
artifactFeed: $(DevFeedName)

- ${{ if eq(parameters.EnablePipAuth, true) }}:
- task: PipAuthenticate@1
Expand Down
Loading