You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

9 lines
239 B

  1. param([string]$apiKey)
  2. $files = Get-ChildItem -Path ".\NuGet" -Filter "*.nupkg"
  3. foreach ($file in $files)
  4. {
  5. Write-Host "Uploading: " $file
  6. .\nuget.exe push $file.Fullname $apiKey -NoSymbols -Source https://api.nuget.org/v3/index.json
  7. }