fix(ci): skip version registration for latest release and sort by semver#1315
Conversation
Skip creating a version entry when the tag matches the current latest release — Latest already covers it, avoiding a duplicate dropdown entry. Sort versioned entries by semver descending (sort -rV) after insertion so backport patches don't end up above newer releases. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe publish-fern-docs workflow now distinguishes the current latest stable release from other releases by computing a ChangesVersion Registration Gating and Semver Sorting
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
Two fixes to the publish workflow version registration:
sort -rVafter insertion so backport patches (e.g. v1.5.1 after v1.6.0) don't end up above newer releasesType of Change
Component(s) Affected
Testing
Checklist
Summary by CodeRabbit