Skip to content

fix: skip RC/alpha/beta tags when finding latest v1.x#106

Merged
ronens88 merged 1 commit intomainfrom
fix/skip-rc-tags
Apr 5, 2026
Merged

fix: skip RC/alpha/beta tags when finding latest v1.x#106
ronens88 merged 1 commit intomainfrom
fix/skip-rc-tags

Conversation

@ronens88
Copy link
Copy Markdown
Contributor

@ronens88 ronens88 commented Apr 5, 2026

getLatestV1Version() was picking v1.0.9-rc1 over v1.0.9. Now skips tags containing '-'.

getLatestV1Version() was picking v1.0.9-rc1 over v1.0.9 because
it only checked startsWith('v1.') and !draft. Tags with '-' suffix
(rc1, alpha, beta) are now skipped.

Pre-releases without '-' in the tag name are still picked up,
since our release workflow marks all v1.x as pre-release to
avoid overriding v0.12.4 as latest.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ronens88 ronens88 merged commit b321589 into main Apr 5, 2026
5 checks passed
@ronens88 ronens88 deleted the fix/skip-rc-tags branch April 5, 2026 14:06
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.

2 participants