Commit 3b6bf84
committed
fix(install.ps1): resolve latest version via GitHub REST API
PowerShell 7 (the shell on GitHub's windows runners) treats GitHub's 302
redirect on /releases/latest as a terminating error under -MaximumRedirection
0, breaking version resolution. Query the REST API for tag_name instead.
Caught by the new installer smoke-test workflow.1 parent f77aa30 commit 3b6bf84
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments