Options (3)
-r, --repositorybooleanPublish to a specific repository
Example:
poetry publish {{[-r|--repository]}} {{repository_name}}-u, --usernamebooleanPublish with specific credentials
Example:
poetry publish {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}-p, --passwordbooleanPublish with specific credentials
Example:
poetry publish {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}Examples (6)
Publish the current package to PyPI
Build the package before publishing
poetry publish --buildPublish to a specific repository
poetry publish [-r|--repository] repository_namePublish with specific credentials
poetry publish [-u|--username] username [-p|--password] passwordPerform a dry run to see what would be done without actually publishing
poetry publish --dry-runSkip files that already exist in the repository
poetry publish --skip-existingmade by @shridhargupta | data from tldr-pages