Skip to content

Commit

Permalink
get all .nupkg instead of all files (#7684)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-pegao authored Nov 1, 2021
1 parent a3b93f7 commit d40e085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/Deployment/deploy-tasks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function PackAssetZip {

function PublishToNuget {
param($nugetCommand, $sourceUrl, $artifactsFolder, $apiKey = "anything")
Get-ChildItem "$artifactsFolder/*" -Recurse -Exclude "*.symbols.nupkg" | Foreach-Object -Parallel {
Get-ChildItem "$artifactsFolder/*.nupkg" -Recurse -Exclude "*.symbols.nupkg" | Foreach-Object -Parallel {
& $using:nugetCommand push $_ $using:apiKey -Source $using:sourceUrl -SkipDuplicate
}
}
Expand Down

0 comments on commit d40e085

Please sign in to comment.