Skip to content

Commit 5a55273

Browse files
committed
run on master branch only
1 parent edff774 commit 5a55273

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

appveyor.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ skip_commits:
2020
files:
2121
- '*.md'
2222

23-
environment:
24-
winget_token:
25-
secure: HbH4/yvdMmNLUUwN/VEbsJiGLoXNheJpXK4XQbTXVtjcpWSiOBSFeJ2KaE1n9wHs
26-
auth_token:
27-
secure: ij4UeXUYQBDJxn2YRAAhUOjklOGVKDB87Hn5J8tKIzj13yatoI7sLM666QDQFEgv
28-
2923
image: Visual Studio 2019
3024
platform: Any CPU
3125
configuration: Release
@@ -74,18 +68,14 @@ deploy:
7468
on:
7569
APPVEYOR_REPO_TAG: true
7670

77-
deploy_script: # this doesnt seem to run at all
78-
- ps: |
79-
if ($env:APPVEYOR_REPO_BRANCH -eq "dev") #swich to master for release
80-
{
81-
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
82-
.\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
83-
}
71+
environment:
72+
winget_token:
73+
secure: HKfVT2FYZITAG0qqMCePYhIem5a/gzvAgYDSlr6RlXfGmeBUOANUtgJ9X6fNroxN
8474

8575
on_success:
8676
- ps: |
87-
if ($env:APPVEYOR_REPO_BRANCH -eq "dev")
77+
if ($env:APPVEYOR_REPO_BRANCH -eq "master")
8878
{
8979
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
90-
.\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
80+
.\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
9181
}

0 commit comments

Comments
 (0)