Skip to content

Commit f383312

Browse files
authored
fix: List up to 100 releases in list-all (#25)
1 parent 8db5353 commit f383312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function sort_versions() {
1919
function list_github_releases() {
2020
curl "${curl_opts[@]}" \
2121
-H "Accept: application/vnd.github+json" \
22-
"https://api.github.com/repos/$GITHUB_REPO/releases" |
22+
"https://api.github.com/repos/$GITHUB_REPO/releases?per_page=100" |
2323
grep -o '"tag_name": "bun-v.*"' |
2424
sed -E 's/"tag_name": "bun-v(.*)"/\1/'
2525
}

0 commit comments

Comments
 (0)