How to draft a new release on PyPi with Github Action
After updating the version from everywhere in the codebase such as __init__.py
, docs
and debian package
, you can click “Releases” for drafting a new version release.
After that, you can click the “Draft a new release”.
The next step is to fill out the version number you want to release, and the changelog from the last release to now.
After completing the information for this version, you can click “Publish release” to publish this version.
Once this version is released, Github Action will initiate a process to publish it on PyPi automatically.
:::info
Please note that there is a limitation that you cannot upload twice with the same release version number.