1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-13 18:15:24 +02:00
tldr/pages/common/uv-publish.md
Meinard Francisco 595818316a
uv-{build,cache,export,publish,self}: add pages (#16906)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-06-21 04:14:05 +05:30

716 B

uv publish

Upload distributions to an index. More information: https://docs.astral.sh/uv/reference/cli/#uv-publish.

  • Publish packages from dist/ directory (default behavior):

uv publish

  • Publish to a specific repository URL:

uv publish --publish-url {{https://upload.pypi.org/legacy/}}

  • Publish using a specific username and password:

uv publish {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}

  • Publish using an API token:

uv publish {{[-t|--token]}} {{your_api_token}}

  • Publish specific distribution files:

uv publish {{path/to/dist/*.whl}} {{path/to/dist/*.tar.gz}}

  • Publish to TestPyPI for testing:

uv publish --publish-url https://test.pypi.org/legacy/