# CI release pipeline constraints Status: accepted ## Context Builds run in the `cargo-zigbuild` image on Gitea act_runner, followed by a release job that commits `bin.json` consumed by `flake.nix`. ## Decision - Version: next = highest `vX.Y.Z` tag with patch bumped; minor/major bumps are done by pushing a tag by hand. - The image bundles rust, zig, cargo-zigbuild, both targets and a macOS SDK (SDKROOT), so no per-run toolchain setup; the runner keeps the pulled image. - The image has no node, which act_runner needs for JS actions, so node is installed first. - The release job checks out `main`, not the build sha, because `bin.json` is committed on top of it. - Artifacts lose the executable bit; it is restored before packaging. - Gitea creates the tag at `target_commitish` when it does not exist, so the release API call creates the tag. ## Consequences The workflow depends on the pinned image and node version; bin.json commits are excluded from triggers via paths-ignore. Code: .gitea/workflows/build.yml (version, build, release jobs)