From 87799e1e215df1efe9288f5e8cc40e82b5a5a1a1 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Fri, 20 Jun 2025 00:13:33 +0200 Subject: [PATCH] feat: update fetch_all_asserts for testing --- lib/utils.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.bash b/lib/utils.bash index cc716cb..ae53994 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -48,7 +48,7 @@ sort_versions() { fetch_all_assets() { curl -s -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/${GH_REPO}/releases | - jq -r '.[0].assets[] | "\(.name) \(.browser_download_url)"' + jq -r '.[] | .assets[] | "\(.name) \(.browser_download_url)"' } validate_platform() {