Mention `repository_url` in README

This commit is contained in:
Sviatoslav Sydorenko 2019-09-15 09:16:54 +02:00
parent 04871990d3
commit 32324e5beb
No known key found for this signature in database
GPG key ID: 9345E8FEA89CA455

View file

@ -52,6 +52,30 @@ distributions_]. Users are responsible for preparing dists for upload
by putting them into the `dist/` folder prior to running this Action. by putting them into the `dist/` folder prior to running this Action.
## Advanced release management
For best results, figure out what kind of workflow fits your
project's specific needs.
For example, you could implement a parallel workflow that
pushes every commit to Test PyPI or your own index server,
like `devpi`. For this, you'd need to (1) specify a custom
`repository_url` value and (2) generate a unique version
number for each upload so that they'd not create a conflict.
The later is possible if you use `setuptools_scm` package but
you could also invent your own solution based on the distance
to the latest tagged commit.
The action invocation in this case would look like:
```yml
- name: Publish package to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
repository_url: https://test.pypi.org/legacy/
```
## License ## License
The Dockerfile and associated scripts and documentation in this project The Dockerfile and associated scripts and documentation in this project