From 12bcb6bb89a6bee006eedc80981f78d512a1b407 Mon Sep 17 00:00:00 2001 From: Ioannis G Date: Sat, 9 May 2020 00:15:54 +0300 Subject: [PATCH] appveyor: updating naming of artifacts --- Scripts/flowlauncher.nuspec | 2 +- Scripts/post_build.ps1 | 6 +++--- appveyor.yml | 9 ++++++++- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Scripts/flowlauncher.nuspec b/Scripts/flowlauncher.nuspec index a4831f4db..ec953399c 100644 --- a/Scripts/flowlauncher.nuspec +++ b/Scripts/flowlauncher.nuspec @@ -1,7 +1,7 @@ - FlowLauncher + Flow-Launcher Flow Launcher $version$ happlebao, Jeremy Wu diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index 5d9a0baf6..36cda54e6 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -61,7 +61,7 @@ function Zip-Release ($path, $version, $output) { Write-Host "Begin zip release" $content = "$path\Output\Release\*" - $zipFile = "$output\Flow.Launcher-$version.zip" + $zipFile = "$output\Flow-Launcher-v$version.zip" Compress-Archive -Force -Path $content -DestinationPath $zipFile @@ -80,7 +80,7 @@ function Pack-Squirrel-Installer ($path, $version, $output) { # TODO: can we use dotnet pack here? nuget pack $spec -Version $version -BasePath $input -OutputDirectory $output -Properties Configuration=Release - $nupkg = "$output\FlowLauncher.$version.nupkg" + $nupkg = "$output\Flow-Launcher.$version.nupkg" Write-Host "nupkg path: $nupkg" $icon = "$path\Flow.Launcher\Resources\app.ico" Write-Host "icon: $icon" @@ -94,7 +94,7 @@ function Pack-Squirrel-Installer ($path, $version, $output) { Move-Item $temp\* $output -Force Remove-Item $temp - $file = "$output\Flow Launcher-$version.exe" + $file = "$output\Flow-Launcher-v$version.exe" Write-Host "Filename: $file" Move-Item "$output\Setup.exe" $file -Force diff --git a/appveyor.yml b/appveyor.yml index d1ce37bb9..dc98a7a20 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -30,7 +30,14 @@ build: verbosity: minimal artifacts: -- path: 'Output\Packages\*' +- path: 'Output\Packages\*.exe' + name: Setup File +- path: 'Output\Packages\*.nupkg' + name: Squirrel nupkg +- path: 'Output\Packages\RELEASES' + name: Squirrel RELEASES +- path: 'Output\Packages\Flow-Launcher-*.zip' + name: Zip - path: 'Output\Release\Flow.Launcher.Plugin.*.nupkg' name: Plugin nupkg - path: 'Output\Release\Flow.Launcher.Plugin.*.snupkg'