Browse Source

modify CI build pipe

tags/4.1.9.2-nbbnu
Student Main 5 years ago
parent
commit
6ea7e593ed
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      appveyor.yml

+ 3
- 3
appveyor.yml View File

@@ -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"


Loading…
Cancel
Save