Conversation
The draft-release workflow bumped only pom.xml, so the Maven/Gradle install snippets in README.md and docs/getting-started.md went stale (README needed a manual fix in #74, the docs page still said 1.3.0). Add a sed step, mirroring mailtrap-dotnet, that rewrites both snippet shapes to the next version; the release PR action commits them via `git commit -am`. Also bring docs/getting-started.md up to 1.7.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe getting-started Maven and Gradle examples now use version 1.7.0. When release notes are nonempty, the release workflow updates matching dependency versions in README.md and docs/getting-started.md to the computed next version. ChangesRelease snippet version updates
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to The current README and getting-started examples are updated to the release version; no actionable merge risk was identified. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
Motivation
The draft-release workflow only bumps
pom.xml, so the install snippets in the docs fall behind with every release. The README needed a manual fix in #74, anddocs/getting-started.md(published to GitHub Pages) still says1.3.0. Follow-up to #74 (review), same approach as the mailtrap-dotnet draft-release workflow.Changes
<version>inside themailtrap-javadependency) and Gradle (io.mailtrap:mailtrap-java:X.Y.Z) snippets inREADME.mdanddocs/getting-started.md;open-sdk-release-prcommits them throughgit commit -amdocs/getting-started.mdfrom 1.3.0 to 1.7.0No other files mention the version: the
User-Agentheader has no version in it, andCHANGELOG.mdis already updated byprepend-changelog.How to test
ubuntu:24.04,NEXT=1.8.0): all six snippets inREADME.mdanddocs/getting-started.mdchange to 1.8.0 and nothing else changesactionlint .github/workflows/draft-release.ymlpassesREADME.mdanddocs/getting-started.md🤖 Generated with Claude Code
Summary by CodeRabbit
mailtrap-javaversion 1.7.0.