Improve release mechanism (two stages: draft release + publish to PyPi upon conversion)

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-05-11 22:18:47 +02:00
1 parent 557337fdaa
commit ccc80e7253
3 files changed
+35 -15

No files matched your search

+11 -3
View File
@@ -7,14 +7,22 @@ and tools for formatting and type checking.
## Release Process
1. Ensure clean git status
2. Set version for release, e.g.
1. Ensure clean git status.
2. Set the version for release, e.g.
python scripts/bump_version.py --patch
python scripts/bump_version.py --minor
This also creates the git tag.
3. Push to GitHub, triggering the release process.
3. Push to GitHub:
git push
git push --tags
Pushing the tag triggers the `create-release` workflow, which creates a
**draft release** on GitHub.
4. Review the draft release on the
[GitHub Releases page](https://github.com/oraios/serena/releases).
When ready, publish it (click *Publish release*).
This triggers the `publish` workflow, which builds and publishes the
package to PyPI.