Skip to content

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

  1. Main is green. Run the tests (pytest -q stack/tests, the command is in stack/tests) and a workflow_dispatch run of images (gh workflow run images.yml --ref main): it builds every image without pushing.
  2. 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.
  3. Nothing private in it. The host-detail grep (patterns in the maintainer's private notes) finds nothing, and NOTICE and the README credits name every part copied in since the last release.
  4. 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 .env line, a setup re-run). Put the actions first.
  5. Tag and publish. git tag -a vX.Y.Z -m "Couchdogs X.Y.Z", git push origin vX.Y.Z, then gh release create vX.Y.Z --notes-file <notes> once the images run for the tag is green.
  6. Check the result. docker buildx imagetools inspect ghcr.io/citizenjc/couchdogs-runner:X.Y.Z lists the image, and an install with IMAGE_TAG=X.Y.Z shows X.Y.Z in 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.