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
2022-11-17 08:40:29 +00:00
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"
2022-11-17 08:40:29 +00:00
}
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
2020-06-12 11:19:55 +00:00
- sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest
2020-06-12 11:50:20 +00:00
- net start WSearch
2020-05-08 20:07:05 +00:00
2024-03-26 19:28:33 +00:00
#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 :
2015-11-04 00:12:40 +00:00
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)
2020-05-08 20:07:05 +00:00
2021-11-11 20:45:47 +00:00
image : Visual Studio 2022
2020-05-08 20:07:05 +00:00
platform : Any CPU
configuration : Release
2015-11-04 00:12:40 +00:00
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
2020-05-08 20:07:05 +00:00
verbosity : minimal
2022-11-11 23:30:51 +00:00
test_script :
2022-11-11 23:33:40 +00:00
- dotnet test --no-build -c Release
2022-11-11 23:30:51 +00:00
after_test :
2024-03-24 18:52:05 +00:00
- ps : .\Scripts\post_build.ps1 -channel $env:channel
2020-05-08 20:07:05 +00:00
2014-12-13 06:59:47 +00:00
artifacts :
2024-03-24 19:14:33 +00:00
- path : 'Output\Release\Flow.Launcher.Plugin.*.nupkg'
2020-11-12 21:27:57 +00:00
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
2020-11-12 21:27:57 +00:00
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
2022-11-17 08:40:29 +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)'
2022-11-17 08:40:29 +00:00
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