Commit b321589
fix: skip RC/alpha/beta tags when finding latest v1.x release (#106)
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>1 parent 8f178f9 commit b321589
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27456 | 27456 | | |
27457 | 27457 | | |
27458 | 27458 | | |
27459 | | - | |
| 27459 | + | |
| 27460 | + | |
| 27461 | + | |
| 27462 | + | |
| 27463 | + | |
| 27464 | + | |
| 27465 | + | |
27460 | 27466 | | |
27461 | 27467 | | |
27462 | 27468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
0 commit comments