2022-12-13 02:51:59 +00:00
version : '1.10.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
}
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
2022-11-11 23:49:12 +00:00
cache :
- '%USERPROFILE%\.nuget\packages -> **.sln, **.csproj' # preserve nuget folder (packages) unless the solution or projects change
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 :
2021-01-04 23:50:19 +00:00
- ps : .\Scripts\post_build.ps1
2020-05-08 20:07:05 +00:00
2014-12-13 06:59:47 +00:00
artifacts :
2020-05-04 11:37:26 +00:00
- path : 'Output\Release\Flow.Launcher.Plugin.*.nupkg'
2020-11-12 21:27:57 +00:00
name : Plugin nupkg
2021-01-05 00:00:37 +00:00
- path : 'Output\Packages\Flow-Launcher-*.exe'
name : Squirrel Installer
2021-07-24 09:10:07 +00:00
- path : Output\Packages\Flow-Launcher-Portable.zip
2021-07-24 08:08:25 +00:00
name : Portable Version
2021-01-05 00:00:37 +00:00
- path : 'Output\Packages\FlowLauncher-*-full.nupkg'
name : Squirrel nupkg
- path : 'Output\Packages\RELEASES'
name : Squirrel 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 :
2022-06-25 17:40:18 +00:00
secure : EwKxUgjI8VGouFq9fdhI68+uj42amAhwE65JixIbqx8VlqLbyEuW97CLjBBOIL0r
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