File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Write-Debug "Changing working directory to $env:Agent_TempDirectory"
20
20
Set-Location " $env: Agent_TempDirectory " | Out-Null
21
21
22
22
# clone repo and checkout
23
- Write-Debug " Init and featch nf-Visual-Studio-extension repo"
23
+ Write-Debug " Init and fetch nf-Visual-Studio-extension repo"
24
24
25
25
git clone -- depth 1 https:// github.com / nanoframework/ nf- Visual- Studio- extension repo
26
26
Set-Location repo | Out-Null
@@ -51,13 +51,17 @@ function Get-LatestNugetVersion {
51
51
$versions = $response.versions | Where-Object { $_ -notmatch " preview" }
52
52
}
53
53
54
+ Write-Debug " Latest version found: $ ( $versions [-1 ]) "
55
+
54
56
return $versions [-1 ]
55
57
}
56
58
catch {
57
59
throw " Error querying NuGet API: $_ "
58
60
}
59
61
}
60
62
63
+ Write-Host " Target version is: $packageTargetVersion ."
64
+
61
65
$latestNugetVersion = Get-LatestNugetVersion - url $nugetApiUrl
62
66
63
67
while ($latestNugetVersion -ne $packageTargetVersion ) {
You can’t perform that action at this time.
0 commit comments