Skip to content

Commit 269a59e

Browse files
committed
Remove unneeded code.
1 parent 810af77 commit 269a59e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

firebird-docker.build.ps1

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,7 @@ task Update-Assets {
111111
$currentAssets = $currentReleases |
112112
Select-Object -Property @{ Name='version'; Expression={ [version]$_.tag_name.TrimStart("v") } },
113113
@{ 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
122115

123116
# Group by major version
124117
$groupedAssets = $currentAssets |

0 commit comments

Comments
 (0)