2 Star 1 Fork 0

chaolee / CefSharp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
afterbuild.example.ps1 763 Bytes
一键复制 编辑 原始数据 按行查看 历史
param(
[Parameter(Position = 0, Mandatory = $true)]
[string] $Version
)
$WorkingDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
$Nuget = Join-Path $env:LOCALAPPDATA .\nuget\NuGet.exe
$PackagePath = Join-Path $WorkingDir\nuget
function Write-Diagnostic
{
param(
[Parameter(Position = 0, Mandatory = $true, ValueFromPipeline = $true)]
[string] $Message
)
Write-Host
Write-Host $Message -ForegroundColor Green
Write-Host
}
Write-Diagnostic "Uploading packages to myget"
$Packages = @(
"$PackagePath\CefSharp.Common.$Version.nupkg",
"$PackagePath\CefSharp.WinForms.$Version.nupkg",
"$PackagePath\CefSharp.Wpf.$Version.nupkg"
)
$Packages | ForEach-Object {
. $Nuget push $_ -Source https://myget.org/F/X
}
1
https://gitee.com/chaolee/CefSharp.git
git@gitee.com:chaolee/CefSharp.git
chaolee
CefSharp
CefSharp
master

搜索帮助