mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 20:31:12 +00:00
Hint at wrong endpoint in publish (#7872)
Improve hints when using the simple index URL instead of the upload URL in `uv publish`. This is the most common confusion when publishing, so we give it some extra care and put it more centrally in the CLI help. Fixes #7860 --------- Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
9e98055a9e
commit
282fab5f70
3 changed files with 34 additions and 14 deletions
|
|
@ -7214,9 +7214,9 @@ uv publish [OPTIONS] [FILES]...
|
|||
|
||||
<p>This setting has no effect when used in the <code>uv pip</code> interface.</p>
|
||||
|
||||
</dd><dt><code>--publish-url</code> <i>publish-url</i></dt><dd><p>The URL of the upload endpoint.</p>
|
||||
</dd><dt><code>--publish-url</code> <i>publish-url</i></dt><dd><p>The URL of the upload endpoint (not the index URL).</p>
|
||||
|
||||
<p>Note that this typically differs from the index URL.</p>
|
||||
<p>Note that there are typically different URLs for index access (e.g., <code>https:://.../simple</code>) and index upload.</p>
|
||||
|
||||
<p>Defaults to PyPI’s publish URL (<https://upload.pypi.org/legacy/>).</p>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue