Skip to content

Commit

Permalink
(tribler) Fixes Update.ps1
Browse files Browse the repository at this point in the history
Tribler's releases now include debug executables, which were being picked up by the current logic.

This change fixes that by excluding assets that match -debug_.
  • Loading branch information
JPRuskin committed Jul 3, 2024
1 parent 6369d4a commit e2f43f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automatic/tribler/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ function global:au_GetLatest {
$LatestRelease = Get-GitHubRelease Tribler tribler

@{
URL32 = $LatestRelease.assets | Where-Object {$_.name.EndsWith("x86.exe")} | Select-Object -ExpandProperty browser_download_url
URL64 = $LatestRelease.assets | Where-Object {$_.name.EndsWith("x64.exe")} | Select-Object -ExpandProperty browser_download_url
URL32 = $LatestRelease.assets | Where-Object {$_.name.EndsWith("x86.exe") -and $_.name -notmatch '-debug_'} | Select-Object -ExpandProperty browser_download_url
URL64 = $LatestRelease.assets | Where-Object {$_.name.EndsWith("x64.exe") -and $_.name -notmatch '-debug_'} | Select-Object -ExpandProperty browser_download_url
Version = $LatestRelease.tag_name.TrimStart("v")
ReleaseNotes = $LatestRelease.html_url
}
Expand Down

0 comments on commit e2f43f3

Please sign in to comment.