Package: Python Twine Upload Authenticate version 0.*
Azure DevOps Services
Provides twine credentials to a PYPIRC_PATH environment variable for the scope of the build. This enables you to publish Python packages to feeds with twine from your build.
YAML snippet
# Python twine upload authenticate
# Authenticate for uploading Python distributions using twine. Add '-r FeedName/EndpointName --config-file $(PYPIRC_PATH)' to your twine upload command. For feeds present in this organization, use the feed name as the repository (-r). Otherwise, use the endpoint name defined in the service connection.
- task: TwineAuthenticate@0
inputs:
artifactFeeds:
#externalFeeds: # Optional
#publishPackageMetadata: true # Optional
Arguments
| Argument | Description |
|---|---|
| artifactFeeds | List of Azure Artifacts feeds to authenticate with twine. |
| externalFeeds | List of service connections from external organizations to authenticate with twine. The credentials stored in the endpoint must have package upload permissions. |
Task control options |
Open source
This task is open source on GitHub. Feedback and contributions are welcome.
FAQ
Povratne informacije
Pošalјite i prikažite povratne informacije za