mirror of https://github.com/astral-sh/uv
Wrap md lines of added content to max 80 characters
This commit is contained in:
parent
f569039ba5
commit
9575b29b33
|
|
@ -87,9 +87,15 @@ your cache key files instead of `uv.lock`.
|
||||||
|
|
||||||
## Publishing to the GitLab PyPI index
|
## Publishing to the GitLab PyPI index
|
||||||
|
|
||||||
`uv publish` can be used to publish to the GitLab PyPI registry, but it will not update your release with corresponding assets links to the uploaded wheel files. It also does not provide assets links as they would be required by `glab release create --assets-links` to connect the wheel files with their corresponding release item.
|
`uv publish` can be used to publish to the GitLab PyPI registry, but it will
|
||||||
|
not update your release with corresponding assets links to the uploaded wheel
|
||||||
|
files. It also does not provide assets links as they would be required by
|
||||||
|
`glab release create --assets-links` to connect the wheel files with their
|
||||||
|
corresponding release item.
|
||||||
|
|
||||||
The following example of a release job, triggered by a pushed tag, will publish all wheel files in the GitLab PyPI registry of the project and create assets links for the corresponding release item.
|
The following example of a release job, triggered by a pushed tag, will publish
|
||||||
|
all wheel files in the GitLab PyPI registry of the project and create assets
|
||||||
|
links for the corresponding release item.
|
||||||
|
|
||||||
```yaml title="gitlab-ci.yml"
|
```yaml title="gitlab-ci.yml"
|
||||||
release-job:
|
release-job:
|
||||||
|
|
@ -118,6 +124,9 @@ release-job:
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
|
|
||||||
The items in the PyPI registry of the GitLab project will also be available via the PyPI registry of the corresponding GitLab group.
|
The items in the PyPI registry of the GitLab project will also be available via
|
||||||
|
the PyPI registry of the corresponding GitLab group.
|
||||||
|
|
||||||
Note also the [package request forwarding behaviour](https://docs.gitlab.com/user/packages/pypi_repository/#package-request-forwarding-security-notice) of GitLab, which might forward your request automatically to `pypi.org`, even when using the `--default-index` flag.
|
Note also the [package request forwarding behaviour](https://docs.gitlab.com/user/packages/pypi_repository/#package-request-forwarding-security-notice)
|
||||||
|
of GitLab, which might forward your request automatically to `pypi.org`, even
|
||||||
|
when using the `--default-index` flag.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue