PowerToys/Deploy/build-release.ps1
bao-qian 6404aac986 update build script
1. remove update generator from build script
2. add build version to release binary file name
3. remove installer script from deploy folder
2016-01-02 02:05:15 +00:00

9 lines
441 B
PowerShell

$sourceDirectoryName = $env:APPVEYOR_BUILD_FOLDER + "\Output\Release"
$fileName = $env:APPVEYOR_BUILD_FOLDER + "\Wox-$env:APPVEYOR_BUILD_VERSION.zip"
$current_path = Convert-Path .
Write-Host "Current path: " + $current_path
Write-Host "Target path: " + $sourceDirectoryName
[Reflection.Assembly]::LoadWithPartialName("System.IO.Compression.FileSystem")
[System.IO.Compression.ZipFile]::CreateFromDirectory($sourceDirectoryName, $fileName)