Releasing Couchdogs
A release is a vX.Y.Z tag on main. Pushing it makes CI (images.yml) publish every core image to ghcr.io/citizenjc/couchdogs-<name> as X.Y.Z and latest, and Settings > Help & about then shows X.Y.Z (a build that is not a release shows its commit). A tag with a dash (v0.2.0-rc.1) publishes 0.2.0-rc.1 only and leaves latest alone. The client and the launcher have their own tags (client-v*, launcher-v*, see client/README.md).
Versions stay 0.y.z while Couchdogs is early: y for new features or anything an install has to act on, z for fixes only.
Checklist
- Main is green. Run the tests (
pytest -q stack/tests, the command is in stack/tests) and aworkflow_dispatchrun ofimages(gh workflow run images.yml --ref main): it builds every image without pushing. - It ran on a real install. The commit to tag, or one whose image code matches it, is what the host runs, and the checks on the TV that it needed are done. Say in the notes what was not checked.
- Nothing private in it. The host-detail grep (patterns in the maintainer's private notes) finds nothing, and
NOTICEand the README credits name every part copied in since the last release. - Notes. Write what changed for a household since the last tag (
git log --oneline <last tag>..main): new things, fixes, and anything an install must do (a new.envline, asetupre-run). Put the actions first. - Tag and publish.
git tag -a vX.Y.Z -m "Couchdogs X.Y.Z",git push origin vX.Y.Z, thengh release create vX.Y.Z --notes-file <notes>once theimagesrun for the tag is green. - Check the result.
docker buildx imagetools inspect ghcr.io/citizenjc/couchdogs-runner:X.Y.Zlists the image, and an install withIMAGE_TAG=X.Y.ZshowsX.Y.Zin Help & about.
The images are public packages: a new image name pushed by images starts private on GHCR, so make it public once (package settings > Change visibility) or installs cannot pull it.
A broken release is not re-tagged: fix it on main and release X.Y.Z+1.