Skip to content
代码片段 群组 项目
提交 6d4d60e3 编辑于 作者: BlueBlock's avatar BlueBlock
浏览文件

Update postbuild.ps1

fix if matching
上级 9957282b
No related branches found
No related tags found
无相关合并请求
......@@ -41,12 +41,6 @@ Format-Table -AutoSize -Wrap -InputObject @{
}
Write-Output ($ConfigurationName -match "Release")
Write-Output ($env:APPVEYOR_PROJECT_NAME -notcontains "(CI)")
Write-Output ([string]::IsNullOrEmpty($env:WEBSITE_TARGET_OWNER))
Write-Output ([string]::IsNullOrEmpty($env:WEBSITE_TARGET_REPOSITORY))
if ( $ConfigurationName -match "Debug" -and ([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER)) ) { return; } #skip when Debug local developer build
if ( $env:APPVEYOR_PROJECT_NAME -match "(CI)" -and -not ([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER)) ) { return; } #skip when AppVeyor (CI) build
......@@ -56,7 +50,7 @@ New-Item -Path $dstPath -ItemType Directory -Force
# $RunInstaller = $TargetDir -match "\\mRemoteNGInstaller\\Installer\\bin\\"
# $RunPortable = ( ($Targetdir -match "\\mRemoteNG\\bin\\") -and -not ($TargetDir -match "\\mRemoteNGInstaller\\Installer\\bin\\") )
if ( ($ConfigurationName -match "Release") -and ($env:APPVEYOR_PROJECT_NAME -notcontains "(CI)") -and -not ([string]::IsNullOrEmpty($env:WEBSITE_TARGET_OWNER)) -and -not ([string]::IsNullOrEmpty($env:WEBSITE_TARGET_REPOSITORY)) ) {
if ( ($ConfigurationName -match "Release") -and ($env:APPVEYOR_PROJECT_NAME -notmatch "(CI)") -and -not ([string]::IsNullOrEmpty($env:WEBSITE_TARGET_OWNER)) -and -not ([string]::IsNullOrEmpty($env:WEBSITE_TARGET_REPOSITORY)) ) {
Write-Output "-Begin Release Portable"
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册