Improve Publishing Workflow for Development #4
Closed
StefanGreve
started this conversation in
Feature Requests
Replies: 2 comments
-
See also #30 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closed by #35 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Preamble
Editing the workflow file responsible for the publishing process in a live environment can be a little bit disheartening if there are errors, to put it mildly.
Luckily for us, PyPI provides the facilities to test builds on https://test.pypi.org/. Documentation about that can be found here:
Requirements
Essentially, we need a workflow file that can be manually triggered with the
workflow_dispatch
event on GitHub actions which requires that the committer updates the__version__
variable insrc/anonfile/anonfile.py
tomajor.minor.patch-buildnumber
. This makes it much easier to test the release workflow during development, and avoids scenarios in which we have to publish a patch because something went wrong withpython-publish.yml
.The secrets for
test.pypi.org
need to be configured by the project administrator (@StefanGreve) through the repository settings panel. I would propose calling themTEST_PYPI_USERNAME
andTEST_PYPI_PASSWORD
, respectively.Planning Status
Scheduled for milestone
1.0.0
.Beta Was this translation helpful? Give feedback.
All reactions