您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789
  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. }