oliver-zehentleitner / maity

release: each deploy also publishes maity-hub on PyPI (version bump PR, then Oliver's v* tag)

Sign in to report

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:

  1. Before deploy 6, a PR that raises hub/pyproject.toml to 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. Check release-hub.yml, tools/release_gate.py and the docs on releasing for every place the version must match. It is the last merge before the deploy.
  2. Write down the per-deploy step where the release process is documented: bump PR, ci green, Oliver pushes v0.1.0aN on 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.