Skip to content

Commit 3e0ac6d

Browse files
committed
switch to publish WinGet on master branch tag build
1 parent 268cde1 commit 3e0ac6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ environment:
7676

7777
on_success:
7878
- ps: |
79-
if ($env:APPVEYOR_REPO_BRANCH -eq "master" -and $env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null) # branch only builds pr request number will be null, this ensures deployment only when it's non-pr master branch build
79+
if ($env:APPVEYOR_REPO_BRANCH -eq "master" -and $env:APPVEYOR_REPO_TAG)
8080
{
8181
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
8282
.\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

0 commit comments

Comments
 (0)