Few updates to azure-sdk-for-python release handling (#3828)

* Few updates to azure-sdk-for-python release handling

* Switch to TwineAuthenticate@0
This commit is contained in:
Alan Zimmer authored and GitHub committed 2026-10-07 11:42:10 -04:00
1 parent 488135b681
commit b7bd3f796e
1 file changed
+8 -1
@@ -53,14 +53,21 @@ jobs:
Approvers: ${{ coalesce(variables['Build.RequestedForEmail'], 'azuresdk@microsoft.com') }}
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
MainPublisher: 'ESRPRELPACMANTEST'
- task: PipAuthenticate@1
displayName: 'Pip Authenticate to feed: public/azure-sdk-for-python'
inputs:
artifactFeeds: public/azure-sdk-for-python
onlyAddExtraIndex: false
- task: TwineAuthenticate@0
displayName: 'Authenticate to feed: public/azure-sdk-for-python'
displayName: 'Twine Authenticate to feed: public/azure-sdk-for-python'
inputs:
artifactFeeds: public/azure-sdk-for-python
- script: |
set -e
python -m pip install twine
twine upload --repository public/azure-sdk-for-python --config-file $(PYPIRC_PATH) $(Pipeline.Workspace)/esrp-release/${{ parameters.ServerName }}/*.whl
echo "Uploaded whl to devops feed"
displayName: 'Publish package to feed: public/azure-sdk-for-python'