Commit 2615a24
Fix release script crash when no releases exist for new major version (#5487)
When creating a release for a new major version (e.g., v5), the script
crashes with TypeError because no previous releases with that prefix
exist. This adds fallback logic to use the previous major version
(e.g., v4) for comparison instead.
Co-authored-by: azure-pipelines-bot <azure-pipelines-bot@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 80c647a commit 2615a24
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
146 | 160 | | |
147 | 161 | | |
148 | 162 | | |
| |||
0 commit comments