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:
20
20
files :
21
21
- ' *.md'
22
22
23
+ environment :
24
+ winget_token :
25
+ secure : HbH4/yvdMmNLUUwN/VEbsJiGLoXNheJpXK4XQbTXVtjcpWSiOBSFeJ2KaE1n9wHs
26
+ auth_token :
27
+ secure : ij4UeXUYQBDJxn2YRAAhUOjklOGVKDB87Hn5J8tKIzj13yatoI7sLM666QDQFEgv
28
+
23
29
image : Visual Studio 2019
24
30
platform : Any CPU
25
31
configuration : Release
@@ -67,3 +73,19 @@ deploy:
67
73
force_update : true
68
74
on :
69
75
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