Commit c84fb6d
authored
fix(ci): sync-upstream prefers stable releases over prereleases (#70)
* fix(ci): sync-upstream prefers stable releases over prereleases
Consistency with the frontend fix: select the newest STABLE release
(no -alpha/-beta/-rc suffix), falling back to the newest non-alpha
prerelease only when no stable exists. The backend currently only has
stable tags so behavior is unchanged (still v11.0.3), but this hardens
the selection against any future prerelease tags upstream might publish.
* harden: abort sync if no upstream tag matched (empty TAG guard)1 parent ab47c73 commit c84fb6d
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
45 | 56 | | |
46 | 57 | | |
47 | 58 | | |
| |||
0 commit comments