Commit 3409f90
authored
fix: handle solc versions with +commit (#341)
- 8f1c61c introduced an issue with versions like `0.8.15+commit.e14f2714` format that can be seen in foundry CI failure https://github.com/foundry-rs/foundry/actions/runs/19511930077/job/55854689276?pr=12599#step:14:9999 - these versions should be normalized to e.g. `0.8.15` - only prereleases like `0.8.31-pre.1+commit.b59566f6` or `0.8.31-pre.1` should be preserved and looked up with original version - fix to preserve versions only if prereleases, foundry CI passes with patch: foundry-rs/foundry#12599 - should have created the foundry PR with patched versions to changes first, sorry for back and forth 🫠1 parent 0eec4f0 commit 3409f90
1 file changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
218 | 224 | | |
219 | 225 | | |
220 | 226 | | |
221 | 227 | | |
222 | | - | |
| 228 | + | |
223 | 229 | | |
224 | 230 | | |
225 | 231 | | |
| |||
293 | 299 | | |
294 | 300 | | |
295 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
296 | 309 | | |
297 | | - | |
| 310 | + | |
298 | 311 | | |
299 | 312 | | |
300 | 313 | | |
301 | | - | |
| 314 | + | |
302 | 315 | | |
303 | | - | |
| 316 | + | |
304 | 317 | | |
305 | 318 | | |
306 | 319 | | |
307 | | - | |
| 320 | + | |
308 | 321 | | |
309 | 322 | | |
310 | 323 | | |
| |||
0 commit comments