Skip to content

(maint) Fix release-notes.md and auto-generate from CHANGELOG in release workflow#698

Merged
smahima27 merged 1 commit intomainfrom
fix-release-notes-workflow
Mar 19, 2026
Merged

(maint) Fix release-notes.md and auto-generate from CHANGELOG in release workflow#698
smahima27 merged 1 commit intomainfrom
fix-release-notes-workflow

Conversation

@smahima27
Copy link
Copy Markdown
Contributor

Problem

release-notes.md was never updated between releases — every release was using the same stale 3.8.1 content as the GitHub release body. This affected the 3.8.1, 3.9.0, and 3.9.1 GitHub release pages.

Fix

  1. Updated release-notes.md to the correct 3.9.1 content (Wire RateLimiter middleware (P4DEVOPS-9434) Wire RateLimiter middleware into API Rack stack #696)
  2. Fixed release.yml — added a step that auto-generates release-notes.md from the current version's section in CHANGELOG.md before creating the GitHub release. This prevents the issue from recurring.

The awk command extracts the section between the current version header and the next version header in CHANGELOG.md.

Note on previous releases

The gem binaries for 3.8.1, 3.9.0, and 3.9.1 are correct on RubyGems — only the GitHub release bodies had wrong content. The 3.9.1 body will be corrected by re-running the release workflow after this PR is merged.

@smahima27 smahima27 requested a review from a team as a code owner March 19, 2026 06:37
@smahima27 smahima27 merged commit 74059a1 into main Mar 19, 2026
4 checks passed
@smahima27 smahima27 deleted the fix-release-notes-workflow branch March 19, 2026 06:41
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