File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ if (!(Test-Path "$msbuildPath/nanoFramework")) {
26
26
$webClient.Headers.Add (" User-Agent" , " request" )
27
27
$webClient.Headers.Add (" Accept" , " application/vnd.github.v3+json" )
28
28
29
- $releaseList = $webClient.DownloadString (' https://api.github.com/repos/nanoframework/nf-Visual-Studio-extension/tags ' )
29
+ $releaseList = $webClient.DownloadString (' https://api.github.com/repos/nanoframework/nf-Visual-Studio-extension/releases?per_page=100 ' )
30
30
31
- if ($releaseList -match ' "(?<VS2022_version>v2022\.\d+\.\d+\.\d+)' )
31
+ if ($releaseList -match ' \ "(?<VS2022_version>v2022\.\d+\.\d+\.\d+)\" ' )
32
32
{
33
33
$vs2022Tag = $Matches.VS2022_version
34
34
}
35
35
36
- if ($releaseList -match ' "(?<VS2019_version>v2019\.\d+\.\d+\.\d+)' )
36
+ if ($releaseList -match ' \ "(?<VS2019_version>v2019\.\d+\.\d+\.\d+)\" ' )
37
37
{
38
38
$vs2019Tag = $Matches.VS2019_version
39
39
}
You can’t perform that action at this time.
0 commit comments