浏览代码

Merge branch 'master' into develop

release/3.x.x
Christian Kratky 5 年前
父节点
当前提交
d5b0893e90
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      Build/upload.ps1

+ 5
- 1
Build/upload.ps1 查看文件

@@ -1,9 +1,13 @@
param([string]$apiKey)

Invoke-WebRequest -Uri "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" -OutFile "nuget.exe"

$files = Get-ChildItem -Path ".\NuGet" -Filter "*.nupkg"
foreach ($file in $files)
{
Write-Host "Uploading: " $file

.\nuget.exe push $file.Fullname $apiKey -NoSymbols -Source https://api.nuget.org/v3/index.json
}
}

Remove-Item "nuget.exe" -Force -Recurse -ErrorAction SilentlyContinue

正在加载...
取消
保存