Skip to content

ci(release): auto-populate GitHub release notes and changelog sections#128

Merged
ItayTheDar merged 1 commit into
mainfrom
ci/auto-release-notes
May 13, 2026
Merged

ci(release): auto-populate GitHub release notes and changelog sections#128
ItayTheDar merged 1 commit into
mainfrom
ci/auto-release-notes

Conversation

@ItayTheDar
Copy link
Copy Markdown
Contributor

Summary

The current release pipeline cuts a tag, publishes to PyPI, and creates an empty GitHub release. v0.6.0 (which shipped websocket gateways) has body: "" and CHANGELOG.md only contains an empty ## Unreleased block — so launches go out silently.

Two one-line fixes:

  • generate_release_notes: true on softprops/action-gh-release@v2. GitHub builds the release body from merged PRs since the previous tag (titles, authors, full-changelog link). No commit-message format dependency.
  • --bump "v$RELEASE_VERSION" on git-changelog. Without it, the tool can't promote the Unreleased block into a versioned section, so CHANGELOG.md never accumulates entries. The v prefix matches the existing tag scheme so compare links resolve.

Test plan

  • Trigger release.yaml (workflow_dispatch, patch) once this is merged
  • Confirm the published GitHub release has a non-empty body with PR list
  • Confirm CHANGELOG.md on main gains a ## [vX.Y.Z] section after the run

- Pass `generate_release_notes: true` to softprops/action-gh-release so
  the published GitHub release body is auto-built from merged PRs since
  the previous tag (currently empty for v0.6.0 and earlier).
- Pass `--bump v$RELEASE_VERSION` to git-changelog so CHANGELOG.md gets
  a proper versioned section per release instead of perpetually showing
  only "Unreleased". The `v` prefix matches the existing tag scheme.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@ItayTheDar ItayTheDar merged commit 771438e into main May 13, 2026
30 checks passed
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