# Release checklist (PRD F8) Kigi ships as a single-file binary for five targets, published on this repo's Gitea Releases by `.gitea/workflows/release.yml`. Users install via `install.sh` / `install.ps1` and stay current through the in-app self-updater (`kigi-update`), which resolves the same Releases API. `.github/workflows/release.yml` is the retired GitHub pipeline. Gitea ignores `.github/workflows` entirely whenever `.gitea/workflows` is non-empty, so it does not run — it is kept only as a reference for the GitHub-hosted layout. ## Cutting a release 1. Bump `[workspace.package] version` in `Cargo.toml`; land the change on `main` with green CI. 2. Regenerate the third-party notices (not enforced by CI — this is the step that keeps `THIRD-PARTY-NOTICES.md` fresh): ```sh cargo install cargo-about --locked # once cargo about generate about.hbs -o THIRD-PARTY-NOTICES.md ``` Commit the result if it changed. 3. Tag and push: ```sh git tag vX.Y.Z && git push origin vX.Y.Z ``` The tag must equal the workspace version (`vX.Y.Z` ↔ `X.Y.Z`); the workflow fails fast on a mismatch. 4. The `Release` workflow builds all five targets with the hardened `release-dist` profile, packages `kigi--.{tar.gz|zip}` archives (binary + LICENSE + NOTICE + THIRD-PARTY-NOTICES), generates `SHA256SUMS`, and publishes the Gitea Release. Tags containing `-` (e.g. `v0.2.0-alpha.1`) publish as pre-releases, which only the `alpha` update channel picks up. The release is created as a **draft** and only flipped public once `SHA256SUMS` is attached, so `releases/latest` never hands the installer a release whose checksum manifest is still missing. A failed run leaves the draft in place; re-pushing the tag reuses it rather than erroring on a duplicate `tag_name`. 5. Smoke-test an installed artifact: ```sh curl -fsSL https://kigicli.dev/install.sh | sh ~/.kigi/bin/kigi --version ``` ## Build runners Gitea has no hosted runners, so all three `runs-on` labels below are machines we register ourselves with `gitea-runner` (the binary formerly called `act_runner`). Labels are declared in the runner's `config.yaml` as `