Flow.Launcher/appveyor.yml

95 lines
3.2 KiB
YAML
Raw Permalink Normal View History

2024-04-17 00:36:19 +00:00
version: '1.18.0.{build}'
2020-05-08 21:19:17 +00:00
init:
- ps: |
$version = new-object System.Version $env:APPVEYOR_BUILD_VERSION
$env:flowVersion = "{0}.{1}.{2}" -f $version.Major, $version.Minor, $version.Build
if ($env:APPVEYOR_REPO_BRANCH -eq "dev")
{
$env:prereleaseTag = "{0}.{1}.{2}.{3}" -f $version.Major, $version.Minor, $version.Build, $version.Revision
2024-03-24 18:52:05 +00:00
$env:channel = "win-x64-prerelease"
2024-03-24 18:41:07 +00:00
} else {
2024-03-24 18:52:05 +00:00
$env:channel = "win-x64-stable"
}
2024-03-24 18:53:03 +00:00
dotnet tool update -g vpk
2024-03-26 18:53:46 +00:00
$env:APPVEYOR_CACHE_ENTRY_ZIP_ARGS = "-t7z -m0=lzma -mx=9"
2024-03-24 18:53:03 +00:00
- sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest
- net start WSearch
#cache:
# - '%USERPROFILE%\.nuget\packages -> **.sln, **.csproj' # preserve nuget folder (packages) unless the solution or projects change
2024-03-26 18:29:38 +00:00
skip_branch_with_pr: true
2022-11-11 23:49:12 +00:00
2014-12-12 10:22:17 +00:00
assembly_info:
patch: true
2020-05-01 15:31:28 +00:00
file: SolutionAssemblyInfo.cs
2020-05-08 21:19:17 +00:00
assembly_version: $(flowVersion)
assembly_file_version: $(flowVersion)
assembly_informational_version: $(flowVersion)
2021-11-11 20:45:47 +00:00
image: Visual Studio 2022
platform: Any CPU
configuration: Release
before_build:
- ps: nuget restore
2014-12-12 10:22:17 +00:00
build:
2020-04-21 09:12:17 +00:00
project: Flow.Launcher.sln
verbosity: minimal
test_script:
2022-11-11 23:33:40 +00:00
- dotnet test --no-build -c Release
after_test:
2024-03-24 18:52:05 +00:00
- ps: .\Scripts\post_build.ps1 -channel $env:channel
2014-12-13 06:59:47 +00:00
artifacts:
2024-03-24 19:14:33 +00:00
- path: 'Output\Release\Flow.Launcher.Plugin.*.nupkg'
name: Plugin nupkg
2024-03-26 18:26:02 +00:00
- path: 'Releases\FlowLauncher-*.exe'
2021-01-05 00:00:37 +00:00
name: Squirrel Installer
2024-05-26 00:30:40 +00:00
- path: 'Releases\FlowLauncher-*-Portable.zip'
2021-07-24 08:08:25 +00:00
name: Portable Version
2024-03-24 19:14:33 +00:00
- path: 'Releases\FlowLauncher-*-full.nupkg'
2021-01-05 00:00:37 +00:00
name: Squirrel nupkg
2024-03-24 19:14:33 +00:00
- path: 'Releases\RELEASES*'
2024-03-24 18:41:07 +00:00
name: Velopack RELEASES
deploy:
2021-01-05 01:46:32 +00:00
- provider: NuGet
artifact: Plugin nupkg
api_key:
2024-06-10 11:07:23 +00:00
secure: sCSd5JWgdzJWDa9kpqECut5ACPKZqcoxKU8ERKC00k7VIjig3/+nFV5zzTcGb0w3
2021-01-05 01:46:32 +00:00
on:
2021-07-27 22:01:29 +00:00
APPVEYOR_REPO_TAG: true
2021-01-05 01:46:32 +00:00
- provider: GitHub
repository: Flow-Launcher/Prereleases
release: v$(prereleaseTag)
2022-11-17 10:17:31 +00:00
description: 'This is the early access build of our upcoming release. All changes contained here are reviewed, tested and stable to use.\n\nSee our [release](https://github.com/Flow-Launcher/Flow.Launcher/pulls?q=is%3Aopen+is%3Apr+label%3Arelease) Pull Request for details.\n\nFor latest production release visit [here](https://github.com/Flow-Launcher/Flow.Launcher/releases/latest)\n\nPlease report any bugs or issues over at the [main repository](https://github.com/Flow-Launcher/Flow.Launcher/issues)'
auth_token:
secure: ij4UeXUYQBDJxn2YRAAhUOjklOGVKDB87Hn5J8tKIzj13yatoI7sLM666QDQFEgv
artifact: Squirrel Installer, Portable Version, Squirrel nupkg, Squirrel RELEASES
force_update: true
on:
branch: dev
2021-01-05 01:46:32 +00:00
- provider: GitHub
release: v$(flowVersion)
auth_token:
secure: ij4UeXUYQBDJxn2YRAAhUOjklOGVKDB87Hn5J8tKIzj13yatoI7sLM666QDQFEgv
2021-07-24 08:08:25 +00:00
artifact: Squirrel Installer, Portable Version, Squirrel nupkg, Squirrel RELEASES
2021-01-05 01:46:32 +00:00
draft: true
force_update: true
on:
branch: master
- provider: GitHub
release: v$(flowVersion)
auth_token:
secure: ij4UeXUYQBDJxn2YRAAhUOjklOGVKDB87Hn5J8tKIzj13yatoI7sLM666QDQFEgv
2021-07-24 08:08:25 +00:00
artifact: Squirrel Installer, Portable Version, Squirrel nupkg, Squirrel RELEASES
2021-01-05 01:46:32 +00:00
force_update: true
on:
2021-07-12 07:20:57 +00:00
APPVEYOR_REPO_TAG: true