mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
run on master branch only
This commit is contained in:
parent
edff774261
commit
5a55273f3d
1 changed files with 6 additions and 16 deletions
22
appveyor.yml
22
appveyor.yml
|
|
@ -20,12 +20,6 @@ skip_commits:
|
||||||
files:
|
files:
|
||||||
- '*.md'
|
- '*.md'
|
||||||
|
|
||||||
environment:
|
|
||||||
winget_token:
|
|
||||||
secure: HbH4/yvdMmNLUUwN/VEbsJiGLoXNheJpXK4XQbTXVtjcpWSiOBSFeJ2KaE1n9wHs
|
|
||||||
auth_token:
|
|
||||||
secure: ij4UeXUYQBDJxn2YRAAhUOjklOGVKDB87Hn5J8tKIzj13yatoI7sLM666QDQFEgv
|
|
||||||
|
|
||||||
image: Visual Studio 2019
|
image: Visual Studio 2019
|
||||||
platform: Any CPU
|
platform: Any CPU
|
||||||
configuration: Release
|
configuration: Release
|
||||||
|
|
@ -74,18 +68,14 @@ deploy:
|
||||||
on:
|
on:
|
||||||
APPVEYOR_REPO_TAG: true
|
APPVEYOR_REPO_TAG: true
|
||||||
|
|
||||||
deploy_script: # this doesnt seem to run at all
|
environment:
|
||||||
|
winget_token:
|
||||||
|
secure: HKfVT2FYZITAG0qqMCePYhIem5a/gzvAgYDSlr6RlXfGmeBUOANUtgJ9X6fNroxN
|
||||||
|
|
||||||
|
on_success:
|
||||||
- ps: |
|
- ps: |
|
||||||
if ($env:APPVEYOR_REPO_BRANCH -eq "dev") #swich to master for release
|
if ($env:APPVEYOR_REPO_BRANCH -eq "master")
|
||||||
{
|
{
|
||||||
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
|
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
|
||||||
.\wingetcreate.exe update Flow-Launcher.Flow-Launcher -s true -u https://github.com/Flow-Launcher/Flow.Launcher/releases/download/v$env:flowVersion/Flow-Launcher-v$env:flowVersion.exe -v $env:flowVersion -t $env:winget_token
|
.\wingetcreate.exe update Flow-Launcher.Flow-Launcher -s true -u https://github.com/Flow-Launcher/Flow.Launcher/releases/download/v$env:flowVersion/Flow-Launcher-v$env:flowVersion.exe -v $env:flowVersion -t $env:winget_token
|
||||||
}
|
}
|
||||||
|
|
||||||
on_success:
|
|
||||||
- ps: |
|
|
||||||
if ($env:APPVEYOR_REPO_BRANCH -eq "dev")
|
|
||||||
{
|
|
||||||
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
|
|
||||||
.\wingetcreate.exe update Flow-Launcher.Flow-Launcher -s true -u https://github.com/Flow-Launcher/Flow.Launcher/releases/download/v$env:flowVersion/Flow-Launcher-v$env:flowVersion.exe -v $env:flowVersion -t $env:auth_token
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue