dotnet-installer/eng/common/post-build/nuget-validation.ps1
dotnet-maestro[bot] ab988850e4
[release/6.0.1xx] Update dependencies from dotnet/arcade (#20128)
[release/6.0.1xx] Update dependencies from dotnet/arcade
2024-09-13 02:29:55 +00:00

15 lines
483 B
PowerShell

# This script validates NuGet package metadata information using this
# tool: https://github.com/NuGet/NuGetGallery/tree/jver-verify/src/VerifyMicrosoftPackage
param(
[Parameter(Mandatory=$true)][string] $PackagesPath # Path to where the packages to be validated are
)
try {
& $PSScriptRoot\nuget-verification.ps1 ${PackagesPath}\*.nupkg
}
catch {
Write-Host $_.ScriptStackTrace
Write-PipelineTelemetryError -Category 'NuGetValidation' -Message $_
ExitWithExitCode 1
}