appveyor build script fixes

This commit is contained in:
Faryan Rezagholi
2021-08-14 16:45:06 +02:00
parent 315d020b6f
commit d0520690a2

View File

@@ -42,7 +42,7 @@ if ($ConfigurationName -match "Release") {
# Fix for AppVeyor
if(!([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER))) {
$outputZipPath = ".\Release\$zipFilePrefix-$($version).zip"
$outputZipPath = "Release\$zipFilePrefix-$($version).zip"
}
Write-Output "Creating debug symbols ZIP file $($outputZipPath) from $($debugFile)"
@@ -59,10 +59,10 @@ if ($ConfigurationName -eq "Release Portable") {
# Fix for AppVeyor
if(!([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER))) {
$outputZipPath = ".\Release\mRemoteNG-Portable-$($version).zip"
$outputZipPath = "Release\mRemoteNG-Portable-$($version).zip"
}
# Excluse debug symbols from folder
# Exclude debug symbols from folder
$FileExclude = @("*.pdb")
$Source = Get-ChildItem -Recurse -Path $TargetDir -Exclude $FileExclude