ci: drop the install block from release bodies (changelog only)#76
Merged
Conversation
Releases now show only release-please's generated changelog. The release job no longer appends the install/uninstall/disable instructions, the assets table, the "built from commit" line, or the second "## <layer> vX.Y.Z" header to the body — all of that duplicated the README and the version/commit GitHub already shows. The attach step is simplified to: ensure the Release exists (create with --generate-notes for a hand-pushed tag / race — unchanged from #74), then upload the signed assets only (no body / append_body). This also removes the HTML-comment marker + append_notes guard added in #74, which existed solely to keep the now-gone body append idempotent; softprops overwrites same-named assets, so asset upload is already idempotent, and fail_on_unmatched_files catches an empty release/. Co-Authored-By: Claude Opus 4.8 <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.
Release pages should show only the changelog. The release job stops appending the install block.
Before
release-please's changelog + an appended block:
## <layer> vX.Y.Z, “built from commit …”, an Assets table, install/uninstall/disable steps, and the Certum/anti-cheat note. That duplicated the README and the version/commit GitHub already renders, and stacked a second version header under release-please's own.After
The body is only release-please's changelog. The attach step now:
--generate-notes(the guard from ci: harden release attach and skip release-PR builds by path #74, kept).body/append_body. GitHub auto-lists the downloadable assets; install instructions live in the README.Also removes the
<!-- xrt:install-block -->marker +append_notesguard from #74 — they only existed to make the (now-removed) body append idempotent. Asset upload is already idempotent (softprops overwrites same-named assets);fail_on_unmatched_files: truecatches an emptyrelease/.The existing v1.1.0 release body was cleaned to changelog-only separately (one-time
gh release edit).🤖 Generated with Claude Code