Skip to content

Commit

Permalink
Fix winget display version
Browse files Browse the repository at this point in the history
  • Loading branch information
srwi committed Sep 21, 2024
1 parent dbf8d32 commit 8616b38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/winget-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
$releases = Invoke-RestMethod -uri "https://api.github.com/repos/srwi/EverythingToolbar/releases"
$stableRelease = $releases | Where-Object { $_.prerelease -eq $false } | Select -First 1
$installerUrl = $stableRelease | Select -ExpandProperty assets -First 1 | Where-Object -Property name -match "EverythingToolbar.*msi" | Select -ExpandProperty browser_download_url
.\wingetcreate.exe update stnkl.EverythingToolbar -s -v $stableRelease.tag_name -u $installerUrl -t $env:WINGET_TOKEN
.\wingetcreate.exe update stnkl.EverythingToolbar -s -v $stableRelease.tag_name -d $stableRelease.tag_name -u $installerUrl -t $env:WINGET_TOKEN
- name: Submit release to WinGet (beta channel)
run: |
$releases = Invoke-RestMethod -uri "https://api.github.com/repos/srwi/EverythingToolbar/releases"
$latestRelease = $releases | Select -First 1
$installerUrl = $latestRelease | Select -ExpandProperty assets -First 1 | Where-Object -Property name -match "EverythingToolbar.*msi" | Select -ExpandProperty browser_download_url
.\wingetcreate.exe update stnkl.EverythingToolbar.Beta -s -v $latestRelease.tag_name -u $installerUrl -t $env:WINGET_TOKEN
.\wingetcreate.exe update stnkl.EverythingToolbar.Beta -s -v $latestRelease.tag_name -d $latestRelease.tag_name -u $installerUrl -t $env:WINGET_TOKEN

0 comments on commit 8616b38

Please sign in to comment.