Add rake changelog task (git-cliff) - #1744
Conversation
Wraps git-cliff to regenerate CHANGELOG.md from commits, completing the release procedure alongside cliff.toml and release.yml. Pass a release tag to finalize a version section: rake "changelog[v12.0.0.beta.7]". The tag is validated and passed to sh as an array (no shell interpolation). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan includes up to 4 reviews per rolling hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe Rakefile adds a ChangesChangelog generation
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized change adds a validated changelog task without introducing an actionable merge-blocking risk; it is merge-ready after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Pull request overview
Adds a new changelog Rake task to support the project’s git-cliff-based release workflow by regenerating CHANGELOG.md, optionally finalizing a specified version section via a validated tag.
Changes:
- Introduces
rake changelogto regenerateCHANGELOG.mdusing git-cliff. - Adds optional
tagargument handling with validation and safe argument passing tosh(no shell interpolation).
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Adds the
changelograke task, matchingneo4j-ruby-driver, to complete the git-cliff release procedure (which already hascliff.tomland the tag-triggeredrelease.yml).Wraps
git cliff -o CHANGELOG.md. When a tag is given it's validated against\Av\d[\w.-]*\zand passed toshas an array (no shell interpolation, so the tag can't inject commands).🤖 Generated with Claude Code
Summary by CodeRabbit
changelogtask to generate or refresh the project changelog.