Skip to content

Release notes list squash-merged pull requests too - #33

Merged
aakashns merged 1 commit into
mainfrom
fix-release-notes
Oct 19, 2026
Merged

aakashns merged 1 commit into
mainfrom
fix-release-notes

Conversation

@aakashns

@aakashns aakashns commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

The release notes for 0.18.0 and 0.19.0 were empty but for the "Full changelog" link.

Why: from PR #24 on, PRs have been squash-merged (one commit, "Title (#30)") instead of merged with a "Merge pull request #30" commit. .github/release-notes.sh only looked for merge commits, so it found no PRs at all.

What changed: the script now also recognises squashed PRs by the (#N) at the end of their commit, and fetches the PR's own commits from GitHub (pull/N/head, which GitHub keeps even after the branch is deleted), so each commit's full message is listed just as before. Merge commits work as they did: regenerating 0.17.0's notes gives exactly what's published.

Docs/tooling only: no version bump, no release.

Try it

gh pr checkout 33 && git fetch --tags
.github/release-notes.sh 0.19.0 v0.19.0
.github/release-notes.sh 0.18.0 v0.18.0

Fixing the two published releases: once you're happy, their notes can be regenerated with
gh release edit v0.19.0 --notes-file <(.github/release-notes.sh 0.19.0 v0.19.0) (same for 0.18.0). I haven't touched the published releases.

🤖 Generated with Claude Code

Since pull requests started being squash-merged (from #24), the release
notes found no merge commits and came out empty but for the changelog
link, as on 0.18.0 and 0.19.0. A squashed pull request is now found by
the "(#N)" its commit ends with, and its own commits are fetched from
GitHub, so each one's full message is listed as before. Merge commits
still work the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 7bac199 2026-10-19T08:44:02.216Z Visit the dashboard ↗

@aakashns
aakashns merged commit 4301bad into main Oct 19, 2026
3 checks passed
@aakashns
aakashns deleted the fix-release-notes branch October 19, 2026 09:11
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