File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,30 @@ distributions_]. Users are responsible for preparing dists for upload
52
52
by putting them into the `dist/` folder prior to running this Action.
53
53
54
54
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
+
55
79
# # License
56
80
57
81
The Dockerfile and associated scripts and documentation in this project
You can’t perform that action at this time.
0 commit comments