From f383312638bba183253a56b9776fbff6eca3da85 Mon Sep 17 00:00:00 2001 From: Jacob Hands Date: Tue, 10 Sep 2024 00:57:00 -0500 Subject: [PATCH] fix: List up to 100 releases in list-all (#25) --- lib/utils.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.bash b/lib/utils.bash index 89490c4..76c5e67 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -19,7 +19,7 @@ function sort_versions() { function list_github_releases() { curl "${curl_opts[@]}" \ -H "Accept: application/vnd.github+json" \ - "https://api.github.com/repos/$GITHUB_REPO/releases" | + "https://api.github.com/repos/$GITHUB_REPO/releases?per_page=100" | grep -o '"tag_name": "bun-v.*"' | sed -E 's/"tag_name": "bun-v(.*)"/\1/' }