Skip to content

Commit 4541b46

Browse files
authored
Work CI-CD
- Add more output to help check progress. - Fix typo. ***NO_CI***
1 parent abc3c65 commit 4541b46

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

azure-pipelines/update-dependencies.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Write-Debug "Changing working directory to $env:Agent_TempDirectory"
2020
Set-Location "$env:Agent_TempDirectory" | Out-Null
2121

2222
# 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"
2424

2525
git clone --depth 1 https://github.com/nanoframework/nf-Visual-Studio-extension repo
2626
Set-Location repo | Out-Null
@@ -51,13 +51,17 @@ function Get-LatestNugetVersion {
5151
$versions = $response.versions | Where-Object { $_ -notmatch "preview" }
5252
}
5353

54+
Write-Debug "Latest version found: $($versions[-1])"
55+
5456
return $versions[-1]
5557
}
5658
catch {
5759
throw "Error querying NuGet API: $_"
5860
}
5961
}
6062

63+
Write-Host "Target version is: $packageTargetVersion."
64+
6165
$latestNugetVersion = Get-LatestNugetVersion -url $nugetApiUrl
6266

6367
while ($latestNugetVersion -ne $packageTargetVersion) {

0 commit comments

Comments
 (0)