Repository navigation
Use the hand-written release notes as the GitHub release body - #246
Merged
Merged
Conversation
release-publish.sh now feeds release-notes/X.Y.Z.md (comments stripped, the same text the appcast's update window shows) to gh release create via --notes-file, alongside --generate-notes, so the release page leads with the hand-written notes and keeps GitHub's "What's Changed" PR list and the checksums below them. The publish preflight fails fast if the file has gone missing; release-build.sh already refuses to build a release without it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Before: GitHub releases show only GitHub's auto-generated "What's Changed" PR list (plus checksums). The hand-written
release-notes/X.Y.Z.mdreaches only Sparkle's update window.After: GitHub releases show the same hand-written notes as Sparkle's update window at the top, with the generated PR list and checksums below. If the notes file is missing at publish time, the publish fails in preflight (before tagging).
release-build.shalready refuses to build a release without that file, so this can only happen if the file was removed after the build.How:
scripts/release-publish.shpipesrelease_notes_body < release-notes/$VERSION.md(HTML comments stripped, the same text the appcast gets) intogh release create ... --notes-file - --generate-notes. gh puts--notes/--notes-filetext before the generated notes. The checksum step now edits that combined body.RELEASE.mdgets one bullet about this. The appcast path, staging (release-stage.sh) and workflows are not changed.How it was tested
scripts/check.sh --portablepasses on Linux (shellcheck, shfmt, prettier, markdownlint, actionlint, release-lib tests, release-notes lint). The Swift build and tests weren't run; CI on macOS verifies them.I ran the new pipeline against a stub
gh: the arguments come through as--notes-file - --generate-notes, and stdin carries the stripped bullets fromrelease-notes/0.1.64.md.scripts/check.shpasses (or CI will, if I'm not on a Mac)I read AGENTS.md and this doesn't reintroduce anything deliberately removed
Docs updated if behavior changed
🤖 Generated with Claude Code