Releasing¶
Release Process¶
Use this page when you are preparing a g release. Tags trigger publishing to PyPI via OIDC trusted publishing, so create and push them only when you intend to publish.
Update
CHANGESwith the release notesBump the version in
src/g/__about__.pyandpyproject.tomlCommit the release files with the subject
Tag v<version>Tag:
$ git tag v<version>
Push the branch:
$ git push
Push the tag:
$ git push --tags
CI builds and publishes to PyPI automatically
For AI agents: do not create or push tags unless the user explicitly asks. Prepare the release files and commit only.