Trusted Publishing #18
Replies: 1 comment 1 reply
-
|
Fantastic, thank you @johannschopplich We need to follow Python semver format so we work well with existing toolchains. Our version 1.0.0 needs to be compliance to spec, so let’s test some releases with a I hope that our release schedule will slow down once we’re at spec compliance and we’ll need minor updates. Versioning wise, I’m proposing: 0.8.x - initial code set, code tests, documentation and migration of missing stuff from should we use the GitHub milestones for this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @toon-format/python-maintainers, I've finished setting up the automated publishing for the toon-python package. Here's what's configured:
PyPI Setup
Production (pypi.org)
toon_formatpublish.ymlworkflowpypienvironmentTestPyPI (test.pypi.org)
testpypienvironmentGitHub Configuration
Created two environments in the repo settings:
pypi- for production releasestestpypi- for test releasesThe CI workflows someone already set up are working with this:
How Releases Work
Publishing is automated:
Note
Please decide jointly when to release. Also, my preferred release workflow is usually to create a tag and let the GitHub release action create the GitHub release automatically. Semantic commits as a base for the generate changelog. Maybe something for the future. :)
The trusted publishing setup means we don't have to manage any API tokens or secrets. Everything happens securely through GitHub's OIDC.
That should enable you to release whenever you are ready. 🚀
Beta Was this translation helpful? Give feedback.
All reactions