appveyor: updating naming of artifacts

This commit is contained in:
Ioannis G 2020-05-09 00:15:54 +03:00
parent b63521bff3
commit 12bcb6bb89
No known key found for this signature in database
GPG key ID: EAC0E4E5E36AC49E
3 changed files with 12 additions and 5 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<package> <package>
<metadata> <metadata>
<id>FlowLauncher</id> <id>Flow-Launcher</id>
<title>Flow Launcher</title> <title>Flow Launcher</title>
<version>$version$</version> <version>$version$</version>
<authors>happlebao, Jeremy Wu</authors> <authors>happlebao, Jeremy Wu</authors>

View file

@ -61,7 +61,7 @@ function Zip-Release ($path, $version, $output) {
Write-Host "Begin zip release" Write-Host "Begin zip release"
$content = "$path\Output\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 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? # TODO: can we use dotnet pack here?
nuget pack $spec -Version $version -BasePath $input -OutputDirectory $output -Properties Configuration=Release 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" Write-Host "nupkg path: $nupkg"
$icon = "$path\Flow.Launcher\Resources\app.ico" $icon = "$path\Flow.Launcher\Resources\app.ico"
Write-Host "icon: $icon" Write-Host "icon: $icon"
@ -94,7 +94,7 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
Move-Item $temp\* $output -Force Move-Item $temp\* $output -Force
Remove-Item $temp Remove-Item $temp
$file = "$output\Flow Launcher-$version.exe" $file = "$output\Flow-Launcher-v$version.exe"
Write-Host "Filename: $file" Write-Host "Filename: $file"
Move-Item "$output\Setup.exe" $file -Force Move-Item "$output\Setup.exe" $file -Force

View file

@ -30,7 +30,14 @@ build:
verbosity: minimal verbosity: minimal
artifacts: 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' - path: 'Output\Release\Flow.Launcher.Plugin.*.nupkg'
name: Plugin nupkg name: Plugin nupkg
- path: 'Output\Release\Flow.Launcher.Plugin.*.snupkg' - path: 'Output\Release\Flow.Launcher.Plugin.*.snupkg'