Skip to content

ci(release): populate GitHub Release notes from CHANGELOG - #1086

Merged
Rod-Christensen merged 1 commit into
developfrom
feat/release-notes-from-changelog
Jun 4, 2026
Merged

Rod-Christensen merged 1 commit into
developfrom
feat/release-notes-from-changelog

Conversation

@kwit75

@kwit75 kwit75 commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Why

Real-release GitHub Releases have empty/useless notes: we batch everything through one stage→main PR, so generate_release_notes only emits that single merge-PR title (e.g. server-v3.2.1 = "release: stage → main (#1014)"). The rich content lives in CHANGELOG.md. Po-Hsu (AI Growth) had to ask Engineering manually for newsletter content (2026-06-03).

What

  • The Set release body step was gated to prereleases only (if: inputs.prerelease) — so real releases got an empty body. Dropped that gate.
  • It now extracts the top CHANGELOG section (first ## [ block → next ## [) and uses it as the release body, for both prereleases and real releases.
  • generate_release_notes still appends GitHub's auto compare-link/PR list below the real notes.

Validated the awk extraction against the current CHANGELOG: pulls the full [Unreleased] section (349 lines), stops correctly before [1.0.3].

Follow-up

Version-stamp the [Unreleased] header on release (release-please style) so each release shows only its delta rather than the cumulative Unreleased set. Tracked separately.

🤖 Generated with Claude Code

Real releases got an empty body + GitHub's auto-notes, which (because we
batch everything through one stage->main PR) only showed that single merge
PR title — useless for users/marketing (e.g. server-v3.2.1 read "release:
stage -> main (#1014)"). Po-Hsu had to ask Engineering manually for newsletter
content.

The "Set release body" step was also gated to prereleases only. Drop that
gate and have it extract the top CHANGELOG section (first "## [" block) for
every release, so the GitHub Release shows the real, human-written change
list. generate_release_notes still appends the auto compare-link below.

Follow-up: version-stamp the CHANGELOG [Unreleased] header on release so each
release shows only its delta (today it carries the cumulative Unreleased set).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (5)
  • [bot]
  • renovate
  • dependabot
  • release
  • chore(release)

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: b6390d6b-a2b9-443b-a9a5-56d320dda0f9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/release-notes-from-changelog

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added the ci/cd CI/CD and build system label Jun 3, 2026
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor
🤖 Internal: Discord sync marker

Auto-managed by the Discord notification workflow. Stores the linked Discord message ID. Do not edit or delete.

@Rod-Christensen
Rod-Christensen merged commit 48608c7 into develop Jun 4, 2026
29 of 31 checks passed
@Rod-Christensen
Rod-Christensen deleted the feat/release-notes-from-changelog branch June 4, 2026 17:55
AviNormie pushed a commit to AviNormie/rocketride-server that referenced this pull request Nov 9, 2026
…-org#1086)

Real releases got an empty body + GitHub's auto-notes, which (because we
batch everything through one stage->main PR) only showed that single merge
PR title — useless for users/marketing (e.g. server-v3.2.1 read "release:
stage -> main (rocketride-org#1014)"). Po-Hsu had to ask Engineering manually for newsletter
content.

The "Set release body" step was also gated to prereleases only. Drop that
gate and have it extract the top CHANGELOG section (first "## [" block) for
every release, so the GitHub Release shows the real, human-written change
list. generate_release_notes still appends the auto compare-link below.

Follow-up: version-stamp the CHANGELOG [Unreleased] header on release so each
release shows only its delta (today it carries the cumulative Unreleased set).

Co-authored-by: Dmitrii Kataraev <dmitrii.kataraev@rocketride.ai>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd CI/CD and build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants