Repository navigation
Commit 5149ab5
authored
Update matching platform check 🚀
`os:mono` and `os:windows` are behaving wrongly for .Net Core version of the Paket. This is caused by the fact the check depends on `isMonoRuntime` function which on .Net Core always return `false` which caused `os:mono` to never be matched, and `os:windows` be matched on all platforms.
The workaround for the problem is to use `os:win`, `os:linux` and `os:osx` - but it's breaking change for anyone already using those checks who just wanted to modernize build infrastructure (👋).
Fix makes old syntax works correctly also on .Net Core by using the same checks as for `os:win`, `os:osx` and `os:linux`.
`os:windows` will behave just like `os:win` and `os:mono` will be `os:osx || os:linux`1 parent 86bd0ed commit 5149ab5
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
330 | 334 | | |
331 | 335 | | |
| 336 | + | |
332 | 337 | | |
333 | 338 | | |
334 | 339 | | |
| |||
896 | 901 | | |
897 | 902 | | |
898 | 903 | | |
899 | | - | |
| 904 | + | |
0 commit comments