Skip to content

Commit e8b5aae

Browse files
authored
Fix .NET nanoFramework build (#1145)
1 parent b480558 commit e8b5aae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Build/init.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ if (!(Test-Path "$msbuildPath/nanoFramework")) {
2626
$webClient.Headers.Add("User-Agent", "request")
2727
$webClient.Headers.Add("Accept", "application/vnd.github.v3+json")
2828

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')
3030

31-
if($releaseList -match '"(?<VS2022_version>v2022\.\d+\.\d+\.\d+)')
31+
if($releaseList -match '\"(?<VS2022_version>v2022\.\d+\.\d+\.\d+)\"')
3232
{
3333
$vs2022Tag = $Matches.VS2022_version
3434
}
3535

36-
if($releaseList -match '"(?<VS2019_version>v2019\.\d+\.\d+\.\d+)')
36+
if($releaseList -match '\"(?<VS2019_version>v2019\.\d+\.\d+\.\d+)\"')
3737
{
3838
$vs2019Tag = $Matches.VS2019_version
3939
}

0 commit comments

Comments
 (0)