From 07153b2cfebab8ed56c24345baf03381a0120f5b Mon Sep 17 00:00:00 2001 From: "gel@microsoft.com" Date: Wed, 16 Oct 2024 00:01:55 -0700 Subject: [PATCH] fix --- eng/publish-assets.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eng/publish-assets.ps1 b/eng/publish-assets.ps1 index a1a4139a8dcad..5388333f7be38 100644 --- a/eng/publish-assets.ps1 +++ b/eng/publish-assets.ps1 @@ -69,6 +69,11 @@ function Publish-Nuget($publishData, [string]$packageDir) { throw "$nupkg does not exist" } + if ($nupkg.EndsWith(".symbols.nupkg")) { + Write-Host "Skipping symbol package $nupkg" + continue + } + $nupkgWithoutVersion = $nupkg -replace '(\.\d+){3}-.*.nupkg', '' if ($nupkgWithoutVersion.EndsWith(".Symbols")) { Write-Host "Skipping symbol package $nupkg"