File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ skip_commits:
2020 files :
2121 - ' *.md'
2222
23+ environment :
24+ winget_token :
25+ secure : HbH4/yvdMmNLUUwN/VEbsJiGLoXNheJpXK4XQbTXVtjcpWSiOBSFeJ2KaE1n9wHs
26+ auth_token :
27+ secure : ij4UeXUYQBDJxn2YRAAhUOjklOGVKDB87Hn5J8tKIzj13yatoI7sLM666QDQFEgv
28+
2329image : Visual Studio 2019
2430platform : Any CPU
2531configuration : Release
@@ -67,3 +73,19 @@ deploy:
6773 force_update : true
6874 on :
6975 APPVEYOR_REPO_TAG : true
76+
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+ }
84+
85+ on_success :
86+ - ps : |
87+ if ($env:APPVEYOR_REPO_BRANCH -eq "dev")
88+ {
89+ 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
91+ }
You can’t perform that action at this time.
0 commit comments