Skip to content

Instantly share code, notes, and snippets.

@OOPMichael
Created November 28, 2017 22:03
Show Gist options
  • Save OOPMichael/0691b515dc4191189be51038cd1e68ba to your computer and use it in GitHub Desktop.
Save OOPMichael/0691b515dc4191189be51038cd1e68ba to your computer and use it in GitHub Desktop.
$packages = Get-ChildItem "C:\Artifacts\Debug" -Filter *.nupkg | Select-Object FullName
foreach ($pkg in $packages)
{
nuget push -source ""$collectionname"" -apikey vsts $pkg.FullName
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment