oliver-zehentleitner / maity
release: each deploy also publishes maity-hub on PyPI (version bump PR, then Oliver's v* tag)
tsk-9xqcg0n6f7g7 Done An agent
Oliver 2026-11-10 (chat 101485): from deploy 6 on, every deploy publishes the hub on PyPI as maity-hub along with the Docker image, with the same version. The deployment itself stays as it is now (manual approvals, Oliver's command).
The mechanism already exists: a v* tag runs release-hub.yml (PyPI, environment pypi) and publish-image.yml (image, environment ghcr). The tag must name the version in hub/pyproject.toml, and main still says 0.1.0.dev0 (PyPI has only 0.1.0a1).
This card:
- Before deploy 6, a PR that raises
hub/pyproject.tomlto the next version (0.1.0a2 unless the version scheme says otherwise) and cuts the hub's changelog section, if the release process asks for that. Checkrelease-hub.yml,tools/release_gate.pyand the docs on releasing for every place the version must match. It is the last merge before the deploy. - Write down the per-deploy step where the release process is documented: bump PR, ci green, Oliver pushes
v0.1.0aNon that commit, the tag builds the package and the image, ops deploys that image.
Tag pushes are Oliver's. Nobody else pushes a v* tag.