1 Star 0 Fork 0

shenkang4181/NAudio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
publish.ps1 674 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mark Heath 提交于 2021-01-09 10:54 . automate pushing the NuGet packages
# publishes to NuGet
# $apiKey needs to be already set up with NuGet publishing key
$packages = "NAudio.Core", "NAudio.Asio", "NAudio.WinForms", "NAudio.Midi",
"NAudio.WinMM", "NAudio.Wasapi", "NAudio.Uap",
"NAudio", "NAudio.Extras"
foreach ($package in $packages)
{
# publish the most recently created .nupkg file
$folder = "$package\bin\Release"
$recent = gci "$folder\*.nupkg" | sort LastWriteTime | select -last 1
$pkg = $recent.Name
# note that this will fail with 409 error if you try to push package that already exists
dotnet nuget push "$folder\$pkg" --api-key $apiKey --source https://api.nuget.org/v3/index.json
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shenkang4181/NAudio.git
git@gitee.com:shenkang4181/NAudio.git
shenkang4181
NAudio
NAudio
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385