2026-03-09 03:23:36 +00:00
version : '2.1.1.{build}'
2020-05-08 21:19:17 +00:00
2025-06-14 12:56:08 +00:00
# Do not build on tags because we create a release on merge to master. Otherwise will upload artifacts twice changing the hash, as well as triggering duplicate GitHub release action & NuGet deployments.
skip_tags : true
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 :
2025-05-20 02:43:26 +00:00
- ps : |
nuget restore
$jsonFiles = Get-ChildItem -Path ".\Plugins\*\plugin.json"
foreach ($file in $jsonFiles) {
$plugin_old_ver = Get-Content $file.FullName -Raw | ConvertFrom-Json
(Get-Content $file) -replace '"Version"\s*:\s*".*?"', "`"Version`": `"$env:flowVersion`"" | Set-Content $file
$plugin_new_ver = Get-Content $file.FullName -Raw | ConvertFrom-Json
Write-Host "Updated" $plugin_old_ver.Name "version from" $plugin_old_ver.Version "to" $plugin_new_ver.Version
}
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 :
2025-06-14 12:25:55 +00:00
secure : en+/GPSgfUVARoX0+lOeAAlbzvcCZAyBeVQaNq1AeXuRjjHgMwhBnt0PHVJXOepS
2021-01-05 01:46:32 +00:00
on :
2025-06-11 11:10:56 +00:00
branch : master
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)
2025-06-18 11:17:04 +00:00
description : |
This is the early access build of our upcoming release.
All changes contained here are reviewed, tested and stable to use.
This build includes new changes from commit :
$(APPVEYOR_REPO_COMMIT_MESSAGE)
2025-07-21 00:58:12 +00:00
See all changes in this early access by going to the [milestones](https://github.com/Flow-Launcher/Flow.Launcher/milestones?sort=title&direction=asc) section and choosing the upcoming milestone.
2025-06-18 11:17:04 +00:00
For latest production release visit [here](https://github.com/Flow-Launcher/Flow.Launcher/releases/latest)
Please 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