Skip to content

docs: drop redundant 'What's Changed' dump from release notes#248

Open
pinodeca wants to merge 1 commit into
mainfrom
docs/release-prompt-trim-whats-changed
Open

docs: drop redundant 'What's Changed' dump from release notes#248
pinodeca wants to merge 1 commit into
mainfrom
docs/release-prompt-trim-whats-changed

Conversation

@pinodeca

Copy link
Copy Markdown
Collaborator

Trims the auto-generated block in the release prompt's Step 5 so release notes stop carrying a redundant "What's Changed" PR dump.

Problem

Step 5 concatenated the entire releases/generate-notes body onto the curated CHANGELOG.md section. That body's ## What's Changed is a flat list of every merged PR — which just re-states the same PRs the curated changelog already describes (grouped by Added/Changed/Fixed/etc.). Net effect on every release: readers get the same information twice, once curated and once as an ungrouped dump.

Observed on the v0.2.3 notes (now trimmed to match).

Change

Pipe the API output through awk that drops lines from the ## What's Changed heading until the next ## heading or the **Full Changelog** line — keeping only New Contributors + the Full Changelog compare link. Anyone wanting the exhaustive per-PR list with attribution is one click away via that link.

Validated against the real v0.2.3 generate-notes output: result is exactly ## New Contributors + **Full Changelog**.

Docs/process-only change — no code, SQL, or workflow files touched.

Step 5 of the release prompt concatenated the entire `releases/generate-notes`
body, which re-listed every PR in a flat 'What's Changed' section that just
duplicates the curated CHANGELOG block (ungrouped). Trim it with awk so the
auto block contributes only 'New Contributors' + the 'Full Changelog' link;
the per-PR list with attribution stays one click away via the compare link.

Observed on the v0.2.3 release, whose notes have been trimmed to match.
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.

1 participant