diff --git a/build/psgallery-release.yml b/build/psgallery-release.yml index aaadab19..e422c172 100644 --- a/build/psgallery-release.yml +++ b/build/psgallery-release.yml @@ -148,6 +148,7 @@ stages: packDestination: '$(Build.ArtifactStagingDirectory)' - task: NuGetToolInstaller@1 displayName: 'Install NuGet' + checkLatest: true - powershell: | Get-ChildItem -Path $env:ARTIFACT_DIR -Filter *.nupkg -Recurse | % { & "nuget" push $_.FullName -Source $(Source) -ApiKey $(NuGet.ApiKey) -SkipDuplicate | Out-File log.txt -Append }