ci: write release notes a downloader can act on, pointing at GitHub #489

Merged
natsukium merged 1 commit from ci/release-notes-wording into main 2026-09-26 16:26:24 +09:00
Owner

The body of each release page, which the GitHub release mirror copies unchanged, was hard to use:

  • Four printf lines had no blank lines between them, so Markdown rendered them as one paragraph.
  • Some wording was internal: aarch64-linux "is committed … but carries no claim", and macOS said "clear its quarantine attribute" without giving the command.
  • The flake reference pointed at Forgejo, even on the GitHub page.

The assembled body is now:

  • a Downloads list with one entry per archive plus Nix. Each entry says what to run. The macOS entry gives the xattr -dr com.apple.quarantine command, and the Nix entry uses nix run github:felis-terminal/felis/<tag>.
  • a link to install.md at the tag, on GitHub.
  • one sentence naming the three supported platforms and saying aarch64-linux is not supported.
  • one sentence on what felis.proto and felis-config.schema.json are.
  • the version's CHANGELOG section under ## Changes, only when it has entries (a candidate's Unreleased section is usually empty). The leading blank lines and the link-reference definitions at the end of the file are stripped.

I checked it by extracting the run: script and rendering it locally for v0.1.0 and for an rc tag. The workspace.md sentence that describes the release body is updated to match.

The body of each release page, which the GitHub release mirror copies unchanged, was hard to use: - Four printf lines had no blank lines between them, so Markdown rendered them as one paragraph. - Some wording was internal: `aarch64-linux` "is committed … but carries no claim", and macOS said "clear its quarantine attribute" without giving the command. - The flake reference pointed at Forgejo, even on the GitHub page. The assembled body is now: - a **Downloads** list with one entry per archive plus Nix. Each entry says what to run. The macOS entry gives the `xattr -dr com.apple.quarantine` command, and the Nix entry uses `nix run github:felis-terminal/felis/<tag>`. - a link to `install.md` at the tag, on GitHub. - one sentence naming the three supported platforms and saying `aarch64-linux` is not supported. - one sentence on what `felis.proto` and `felis-config.schema.json` are. - the version's CHANGELOG section under `## Changes`, only when it has entries (a candidate's Unreleased section is usually empty). The leading blank lines and the link-reference definitions at the end of the file are stripped. I checked it by extracting the `run:` script and rendering it locally for `v0.1.0` and for an rc tag. The `workspace.md` sentence that describes the release body is updated to match.
ci: write release notes a downloader can act on, pointing at GitHub
Some checks failed
darwin / build felis (aarch64-darwin) (pull_request) Has been cancelled
darwin / darwin docs-only no-op (pull_request) Has been cancelled
pr / cargo build / clippy / test / deny (pull_request) Has been cancelled
pr / wire schema is compatible with the base (pull_request) Has been cancelled
pr / frontend smoke (x86_64-linux) (pull_request) Has been cancelled
darwin / detect relevant changes (pull_request) Has been cancelled
windows / cargo clippy (Windows cross) (pull_request) Has been cancelled
windows / cargo nextest (Windows) (pull_request) Has been cancelled
windows / frontend smoke (Windows) (pull_request) Has been cancelled
windows / package felis (x86_64-pc-windows-msvc) (pull_request) Has been cancelled
windows / windows docs-only no-op (pull_request) Has been cancelled
windows / detect relevant changes (pull_request) Has been cancelled
pr / nix flake check (pull_request) Has been cancelled
ab1cec3104
The release body ran four printf lines together into one Markdown
paragraph, spoke in internal terms ("committed ... but carries no
claim", "clear its quarantine attribute" with no command), and gave a
Forgejo flake reference even on the GitHub mirror, which is the
project's public face.

The body is now a Downloads list with one entry per asset plus Nix,
each saying what to run, the macOS entry giving the xattr command, the
Nix entry using the github: reference, and a link to install.md at the
tag. It explains the two schema assets, and appends the CHANGELOG
section under a Changes heading only when that section has entries,
without the link-reference definitions that trail the file.

Assisted-by: Claude Code
natsukium force-pushed ci/release-notes-wording from ab1cec3104
Some checks failed
darwin / build felis (aarch64-darwin) (pull_request) Has been cancelled
darwin / darwin docs-only no-op (pull_request) Has been cancelled
pr / cargo build / clippy / test / deny (pull_request) Has been cancelled
pr / wire schema is compatible with the base (pull_request) Has been cancelled
pr / frontend smoke (x86_64-linux) (pull_request) Has been cancelled
darwin / detect relevant changes (pull_request) Has been cancelled
windows / cargo clippy (Windows cross) (pull_request) Has been cancelled
windows / cargo nextest (Windows) (pull_request) Has been cancelled
windows / frontend smoke (Windows) (pull_request) Has been cancelled
windows / package felis (x86_64-pc-windows-msvc) (pull_request) Has been cancelled
windows / windows docs-only no-op (pull_request) Has been cancelled
windows / detect relevant changes (pull_request) Has been cancelled
pr / nix flake check (pull_request) Has been cancelled
to 9aeed95c70
All checks were successful
windows / detect relevant changes (pull_request) Successful in 10s
windows / windows docs-only no-op (pull_request) Has been skipped
darwin / detect relevant changes (pull_request) Successful in 14s
darwin / darwin docs-only no-op (pull_request) Has been skipped
pr / nix flake check (pull_request) Successful in 26s
darwin / build felis (aarch64-darwin) (pull_request) Successful in 54s
pr / cargo build / clippy / test / deny (pull_request) Successful in 2m15s
pr / wire schema is compatible with the base (pull_request) Successful in 7s
pr / frontend smoke (x86_64-linux) (pull_request) Successful in 25s
windows / cargo clippy (Windows cross) (pull_request) Successful in 13s
windows / cargo nextest (Windows) (pull_request) Successful in 3m22s
windows / frontend smoke (Windows) (pull_request) Successful in 31s
windows / package felis (x86_64-pc-windows-msvc) (pull_request) Has been skipped
2026-09-26 16:06:22 +09:00
Compare
natsukium force-pushed ci/release-notes-wording from 9aeed95c70
All checks were successful
windows / detect relevant changes (pull_request) Successful in 10s
windows / windows docs-only no-op (pull_request) Has been skipped
darwin / detect relevant changes (pull_request) Successful in 14s
darwin / darwin docs-only no-op (pull_request) Has been skipped
pr / nix flake check (pull_request) Successful in 26s
darwin / build felis (aarch64-darwin) (pull_request) Successful in 54s
pr / cargo build / clippy / test / deny (pull_request) Successful in 2m15s
pr / wire schema is compatible with the base (pull_request) Successful in 7s
pr / frontend smoke (x86_64-linux) (pull_request) Successful in 25s
windows / cargo clippy (Windows cross) (pull_request) Successful in 13s
windows / cargo nextest (Windows) (pull_request) Successful in 3m22s
windows / frontend smoke (Windows) (pull_request) Successful in 31s
windows / package felis (x86_64-pc-windows-msvc) (pull_request) Has been skipped
to 949e900f1f
All checks were successful
darwin / detect relevant changes (pull_request) Successful in 14s
windows / detect relevant changes (pull_request) Successful in 12s
darwin / darwin docs-only no-op (pull_request) Has been skipped
windows / windows docs-only no-op (pull_request) Has been skipped
pr / nix flake check (pull_request) Successful in 27s
darwin / build felis (aarch64-darwin) (pull_request) Successful in 54s
pr / cargo build / clippy / test / deny (pull_request) Successful in 2m13s
pr / wire schema is compatible with the base (pull_request) Successful in 7s
pr / frontend smoke (x86_64-linux) (pull_request) Successful in 26s
windows / cargo clippy (Windows cross) (pull_request) Successful in 13s
windows / cargo nextest (Windows) (pull_request) Successful in 3m30s
windows / frontend smoke (Windows) (pull_request) Successful in 30s
windows / package felis (x86_64-pc-windows-msvc) (pull_request) Has been skipped
2026-09-26 16:11:49 +09:00
Compare
natsukium deleted branch ci/release-notes-wording 2026-09-26 16:26:24 +09:00
Commenting is not possible because the repository is archived.
No description provided.