Fix WinGet publish script (#1132)

This commit is contained in:
Evan Simkowitz 2024-10-24 18:16:06 -07:00 committed by GitHub
parent 4bf0f725f7
commit 4fcac60f97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -247,8 +247,8 @@ tasks:
vars: vars:
UP_VERSION: '{{ replace "v" "" (index .MATCH 0)}}' UP_VERSION: '{{ replace "v" "" (index .MATCH 0)}}'
cmd: | cmd: |
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
.\wingetcreate.exe update {{.WINGET_PACKAGE}} -s -v {{.UP_VERSION}} -u "https://{{.RELEASES_BUCKET}}/{{.APP_NAME}}-win32-x64-{{.UP_VERSION}}.exe" -t $env:GITHUB_TOKEN .\wingetcreate.exe update {{.WINGET_PACKAGE}} -s -v {{.UP_VERSION}} -u "https://{{.RELEASES_BUCKET}}/{{.APP_NAME}}-win32-x64-{{.UP_VERSION}}.msi" -t $env:GITHUB_TOKEN
yarn: yarn:
desc: Runs `yarn` desc: Runs `yarn`