mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
tring to fix 7z duplicate file error on appveyor builds
This commit is contained in:
@@ -68,11 +68,13 @@ if ($ConfigurationName -eq "Release Portable") {
|
||||
# AppVeyor build
|
||||
if(!([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER))) {
|
||||
$outputZipPath = Join-Path -Path $SolutionDir -ChildPath "Release\mRemoteNG-Portable-$($version).zip"
|
||||
7z a $outputZipPath $Source
|
||||
7z a -spf $outputZipPath $Source
|
||||
}
|
||||
# Local build
|
||||
else {
|
||||
$outputZipPath="$($SolutionDir)\Release\mRemoteNG-Portable-$($version).zip"
|
||||
Compress-Archive $Source $outputZipPath -Force
|
||||
}
|
||||
|
||||
$outputZipPath="$($SolutionDir)\Release\mRemoteNG-Portable-$($version).zip"
|
||||
Compress-Archive $Source $outputZipPath -Force
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
Reference in New Issue
Block a user