mirror of
https://github.com/microsoft/mcp.git
synced 2026-11-04 12:01:31 +00:00
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:
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'
|
||||
|
||||
Reference in new issue
Block a user