From 6ea7e593edf1708ecacac306cd65425b2c7cfba7 Mon Sep 17 00:00:00 2001 From: Student Main Date: Tue, 7 Jan 2020 15:34:11 +0800 Subject: [PATCH] modify CI build pipe --- appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index c22c2085..1a420a8a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -119,8 +119,8 @@ after_build: $ExeHashFile = "$Exefile.hash" New-Item $WorkingFolder -ItemType Directory -Force - Copy-Item $env:APPVEYOR_BUILD_FOLDER\shadowsocks-csharp\bin\$env:PLATFORM\$env:CONFIGURATION\Shadowsocks.exe $WorkingFolder\Shadowsocks.exe - Copy-Item $WorkingFolder\Shadowsocks.exe $ExeFile + Copy-Item $env:APPVEYOR_BUILD_FOLDER\shadowsocks-csharp\bin\$env:PLATFORM\$env:CONFIGURATION\* $WorkingFolder\ + # Copy-Item $WorkingFolder\Shadowsocks.exe $ExeFile CalculateHash -file $Exefile | Out-File -FilePath $ExeHashFile @@ -130,7 +130,7 @@ after_build: # Create and deploy the release zip if ($env:configuration -eq 'Release') { - $ReleaseFile = "$WorkingFolder\Shadowsocks.exe" + $ReleaseFile = "$WorkingFolder\*" $HashFile = "$ReleaseFile.hash" $ZipFile = "$WorkingFolder\Shadowsocks-$env:APPVEYOR_BUILD_VERSION.zip" $ZipHashFile = "$ZipFile.hash"