File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -111,14 +111,7 @@ task Update-Assets {
111
111
$currentAssets = $currentReleases |
112
112
Select-Object - Property @ { Name = ' version' ; Expression = { [version ]$_.tag_name.TrimStart (" v" ) } },
113
113
@ { Name = ' download_url' ; Expression = { $_.assets.browser_download_url | Where-Object { ( $_ -like ' *amd64*' -or $_ -like ' *linux-x64*' -or $_ -like ' *linux-arm64*' ) -and ($_ -notlike ' *debug*' ) } } } |
114
- Sort-Object - Property version - Descending |
115
- ForEach-Object {
116
- # Ensure download_url is always an array
117
- @ {
118
- version = $_.version
119
- download_url = @ ($_.download_url )
120
- }
121
- }
114
+ Sort-Object - Property version - Descending
122
115
123
116
# Group by major version
124
117
$groupedAssets = $currentAssets |
You can’t perform that action at this time.
0 commit comments