Skip to content

ci(release): show meaningful release notes on publish#4

Merged
phuthuycoding merged 1 commit into
masterfrom
ci/release-notes
Jun 1, 2026
Merged

ci(release): show meaningful release notes on publish#4
phuthuycoding merged 1 commit into
masterfrom
ci/release-notes

Conversation

@phuthuycoding
Copy link
Copy Markdown
Owner

Summary

The GitHub Release body only said "See CHANGELOG.md for details", forcing readers to open the changelog to find out what shipped. This makes the release notes self-describing.

Changes

  • Add "Prepare release notes" step — extracts the newest CHANGELOG.md section (grouped Features / Bug Fixes) into RELEASE_NOTES.md, plus the install command.
  • Replace deprecated actions/create-release@v1 with softprops/action-gh-release@v2.
  • Enable generate_release_notes: true — GitHub appends "What's Changed" (with PR links), "New Contributors", and the full changelog comparison below the summary.

Result (preview)

## 🚀 Release X.Y.Z
**Release type:** `minor` · **Dist tag:** `latest`
### Install
    npm install moicle@X.Y.Z
### Features
* antigravity: add full skill-based editor support (<commit>)

--- GitHub auto-appends ---
## What's Changed
* <PR title> by @author in #N
## New Contributors / Full Changelog: vA...vB

Matches the standard GitHub release-note format (e.g. the detectIncognito example), instead of a bare changelog link.

🤖 Generated with Claude Code

The GitHub Release body only said "See CHANGELOG.md for details", forcing
readers to open the changelog to learn what shipped.

- Add a "Prepare release notes" step that extracts the newest CHANGELOG
  section (grouped Features/Bug Fixes) into RELEASE_NOTES.md alongside the
  install command.
- Replace the deprecated actions/create-release@v1 with
  softprops/action-gh-release@v2.
- Enable generate_release_notes so GitHub appends "What's Changed" (with PR
  links), "New Contributors", and the full changelog comparison below the
  summary.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@phuthuycoding phuthuycoding merged commit c33b25f into master Jun 1, 2026
3 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