Skip to content

Commit 19aa45d

Browse files
authored
Merge pull request #582 from Flow-Launcher/ci_winget_update
Add WinGet update CD
2 parents 72be2bc + 5a55273 commit 19aa45d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

appveyor.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,15 @@ deploy:
6767
force_update: true
6868
on:
6969
APPVEYOR_REPO_TAG: true
70+
71+
environment:
72+
winget_token:
73+
secure: HKfVT2FYZITAG0qqMCePYhIem5a/gzvAgYDSlr6RlXfGmeBUOANUtgJ9X6fNroxN
74+
75+
on_success:
76+
- ps: |
77+
if ($env:APPVEYOR_REPO_BRANCH -eq "master")
78+
{
79+
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
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
81+
}

0 commit comments

Comments
 (0)