Skip to content

Commit 32324e5

Browse files
committed
Mention repository_url in README
1 parent 0487199 commit 32324e5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,30 @@ distributions_]. Users are responsible for preparing dists for upload
5252
by putting them into the `dist/` folder prior to running this Action.
5353

5454

55+
## Advanced release management
56+
57+
For best results, figure out what kind of workflow fits your
58+
project's specific needs.
59+
For example, you could implement a parallel workflow that
60+
pushes every commit to Test PyPI or your own index server,
61+
like `devpi`. For this, you'd need to (1) specify a custom
62+
`repository_url` value and (2) generate a unique version
63+
number for each upload so that they'd not create a conflict.
64+
The later is possible if you use `setuptools_scm` package but
65+
you could also invent your own solution based on the distance
66+
to the latest tagged commit.
67+
68+
The action invocation in this case would look like:
69+
```yml
70+
- name: Publish package to Test PyPI
71+
uses: pypa/gh-action-pypi-publish@master
72+
with:
73+
user: __token__
74+
password: ${{ secrets.pypi_password }}
75+
repository_url: https://test.pypi.org/legacy/
76+
```
77+
78+
5579
## License
5680

5781
The Dockerfile and associated scripts and documentation in this project

0 commit comments

Comments
 (0)