Skip to content

docs(release): document .deb install and curate release-notes install block (DX-5675)#27

Merged
johnpmitsch merged 1 commit into
mainfrom
dx-5675-document-deb-install-curate-release-notes-install-block
Jun 11, 2026
Merged

docs(release): document .deb install and curate release-notes install block (DX-5675)#27
johnpmitsch merged 1 commit into
mainfrom
dx-5675-document-deb-install-curate-release-notes-install-block

Conversation

@johnpmitsch

Copy link
Copy Markdown
Collaborator

Summary

  • Adds the .deb install path (currently undocumented despite shipping qn_X.Y.Z_{amd64,arm64}.deb on every release) and reorders the README install section around one recommended path per platform — Homebrew on macOS/Linux, Scoop on Windows, .deb on Debian/Ubuntu, AUR on Arch, COPR on Fedora/EPEL, Docker on GHCR — with cargo install / source / raw prebuilt binaries grouped under a new Alternatives subsection.
  • Adds a release-update-install-notes justfile recipe that prepends a curated "How to install" block to the GitHub release body. cargo-dist's auto-generated install section is preserved below a --- separator. The block is rendered from a reviewable template at packaging/release-notes-install.md.tmpl (with {{VERSION}} substitution) and bracketed by HTML-comment markers so re-runs replace the existing block instead of stacking duplicates.
  • Wires the new recipe into release-sync-manual-channels as the final step, so every channel link in the install block is live before the body advertises it.

No changes to dist-workspace.toml, release.yml, or publish-deb.yml. cargo-dist keeps producing its own install section; this layers on top.

Test plan

  • just --list shows the new release-update-install-notes recipe and the justfile parses cleanly.
  • just release-update-install-notes 0.1.8 --dry-run substitutes every {{VERSION}} with 0.1.8 and preserves the cargo-dist body below the --- separator.
  • Re-running the recipe against a body that already contains the curated block produces byte-identical output (verified by piping a prior dry-run back through a mocked gh release view). Pass 1 == Pass 2 == Pass 3.
  • On the next real release: confirm the curated ## Install block appears at the top of the GitHub release body with every link live (Homebrew tap, Scoop bucket, the actual .deb asset on this release, COPR project, GHCR image), and the cargo-dist auto-generated section is still present below the separator.
  • On a Debian/Ubuntu container: copy-paste the .deb snippet from the release notes for the just-cut release, install, run qn --version, confirm the installed version matches the release tag.

Closes DX-5675

… block (DX-5675)

README install section reordered around one recommended path per platform —
Homebrew (macOS/Linux), Scoop (Windows), .deb (Debian/Ubuntu), AUR (Arch),
COPR (Fedora/EPEL), Docker (GHCR) — with crates.io / source / prebuilt
binaries grouped under an Alternatives subsection. The .deb, COPR, and
Docker entries are new; the others are kept verbatim.

Adds a `release-update-install-notes` justfile recipe that prepends a
curated "How to install" block (rendered from a reviewable template at
packaging/release-notes-install.md.tmpl, with {{VERSION}} substitution) to
the GitHub release body. cargo-dist's auto-generated install section is
preserved below a `---` separator. The block is bracketed by HTML-comment
markers so re-runs replace the existing block instead of stacking, making
the recipe safe to invoke standalone or as the final step of
`release-sync-manual-channels`, which it now is.
@johnpmitsch johnpmitsch merged commit c5cca67 into main Jun 11, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants