BililiveRecorder/CI/appveyor_after_build.ps1
2018-04-14 07:05:25 +08:00

10 lines
331 B
PowerShell

if ($env:BILILIVERECORDER_RELEASE)
{
msbuild /t:Publish /verbosity:minimal /p:Configuration=Release /p:ApplicationVersion="$env:p_version" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
$host.SetShouldExit($LastExitCode)
}
else
{
Write-Host "Not a new release, skipping msbuild /t:Publish"
}