Skip to content

Commit 65cb6ed

Browse files
CopilotArash-Sabet
andcommitted
Fix duplicate NuGet package push by removing explicit snupkg pattern
Co-authored-by: Arash-Sabet <26050123+Arash-Sabet@users.noreply.github.com>
1 parent 750d779 commit 65cb6ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ steps:
100100
ArtifactName: 'packages'
101101
publishLocation: 'Container'
102102

103-
# Push both nupkg & snupkg (exclude legacy symbols.nupkg)
103+
# Push nupkg files (snupkg symbols packages are automatically handled by NuGet)
104104
- task: NuGetCommand@2
105105
displayName: 'Pushing to nuget.org'
106106
inputs:
107107
command: 'push'
108-
packagesToPush: '$(Build.ArtifactStagingDirectory)/packages/**/*.nupkg;$(Build.ArtifactStagingDirectory)/packages/**/*.snupkg'
108+
packagesToPush: '$(Build.ArtifactStagingDirectory)/packages/**/*.nupkg'
109109
nuGetFeedType: 'external'
110110
publishFeedCredentials: 'NuGet'
111111
allowPackageConflicts: true

0 commit comments

Comments
 (0)