mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
msbuild based installer generation is not working in appveyor, not sure why
This commit is contained in:
17
Deploy/squirrel_installer.ps1
Normal file
17
Deploy/squirrel_installer.ps1
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# msbuild based installer generation is not working in appveyor, not sure why
|
||||||
|
|
||||||
|
$currentPath = Convert-Path .
|
||||||
|
Write-Host "Current path: " + $currentPath
|
||||||
|
|
||||||
|
$path = $env:APPVEYOR_BUILD_FOLDER + "\Deploy\wox.nuspec"
|
||||||
|
Write-Host "nuspec path: " + $path
|
||||||
|
& nuget.exe pack $path -Version $env:APPVEYOR_BUILD_VERSION -Properties Configuration=Release
|
||||||
|
|
||||||
|
$nupkgPath = $env:APPVEYOR_BUILD_FOLDER + "\Wox." + $env:APPVEYOR_BUILD_VERSION + ".nupkg"
|
||||||
|
Write-Host "nupkg path: " + $nupkgPath
|
||||||
|
|
||||||
|
# must use Squirrel.com, Squirrel.exe will produce nothing
|
||||||
|
$squirrelPath = $env:APPVEYOR_BUILD_FOLDER + "\packages\squirrel*\tools\Squirrel.com"
|
||||||
|
Write-Host "squirrel path: " + $squirrelPath
|
||||||
|
$iconPath = $env:APPVEYOR_BUILD_FOLDER + "\Wox\Resources\app.ico"
|
||||||
|
& $squirrelPath --releasify $nupkgPath --setupIcon $iconPath --no-msi
|
||||||
@@ -17,10 +17,15 @@ after_test:
|
|||||||
.\Deploy\nuget.ps1
|
.\Deploy\nuget.ps1
|
||||||
|
|
||||||
.\Deploy\binary_zip.ps1
|
.\Deploy\binary_zip.ps1
|
||||||
|
|
||||||
|
.\Deploy\squirrel_installer.ps1
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: 'Wox-*.zip'
|
- path: 'Wox-*.zip'
|
||||||
name: zipped_binary
|
name: zipped_binary
|
||||||
- path: '*.nupkg'
|
- path: '*.nupkg'
|
||||||
name: nuget_package
|
name: nuget_package
|
||||||
- path: '\Output\Releases\Installer\*.*'
|
- path: '\Releases\*.exe'
|
||||||
name: installer
|
name: installer
|
||||||
|
- path: '\Releases\*.nupkg'
|
||||||
|
name: installer
|
||||||
|
- path: 'Releases\RELEASES'
|
||||||
Reference in New Issue
Block a user