mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 18:19:14 +00:00
Improve release mechanism (two stages: draft release + publish to PyPi upon conversion)
This commit is contained in:
1 parent
557337fdaa
commit
ccc80e7253
3 files changed
+35
-15
No files matched your search
+11
-3
@@ -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.
|
||||
Reference in new issue
Block a user