Merge pull request #643 from Flow-Launcher/fix_winget_installer

Fix WinGet publish due to change installer name
This commit is contained in:
Jeremy Wu 2021-08-12 11:02:59 +10:00 committed by GitHub
commit a87cea7e6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,5 +79,5 @@ on_success:
if ($env:APPVEYOR_REPO_BRANCH -eq "master" -and $env:APPVEYOR_REPO_TAG -eq "true")
{
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
.\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
.\wingetcreate.exe update Flow-Launcher.Flow-Launcher -s true -u https://github.com/Flow-Launcher/Flow.Launcher/releases/download/v$env:flowVersion/Flow-Launcher-Setup.exe -v $env:flowVersion -t $env:winget_token
}