Skip to content

Commit 0484046

Browse files
authored
Merge pull request #1547 from Flow-Launcher/add_prerelease_deployment
Deploy prerelease builds to Flow-Launcher/Prereleases
2 parents 37cc01e + fc65e7d commit 0484046

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

appveyor.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ init:
44
- ps: |
55
$version = new-object System.Version $env:APPVEYOR_BUILD_VERSION
66
$env:flowVersion = "{0}.{1}.{2}" -f $version.Major, $version.Minor, $version.Build
7+
if ($env:APPVEYOR_REPO_BRANCH -eq "dev")
8+
{
9+
$env:prereleaseTag = "{0}.{1}.{2}.{3}" -f $version.Major, $version.Minor, $version.Build, $version.Revision
10+
}
711
- sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest
812
- net start WSearch
913

@@ -57,6 +61,17 @@ deploy:
5761
on:
5862
APPVEYOR_REPO_TAG: true
5963

64+
- provider: GitHub
65+
repository: Flow-Launcher/Prereleases
66+
release: v$(prereleaseTag)
67+
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)'
68+
auth_token:
69+
secure: ij4UeXUYQBDJxn2YRAAhUOjklOGVKDB87Hn5J8tKIzj13yatoI7sLM666QDQFEgv
70+
artifact: Squirrel Installer, Portable Version, Squirrel nupkg, Squirrel RELEASES
71+
force_update: true
72+
on:
73+
branch: dev
74+
6075
- provider: GitHub
6176
release: v$(flowVersion)
6277
auth_token:

0 commit comments

Comments
 (0)