Skip to content

Commit c9315a8

Browse files
committed
fix: download last 100 releases
1 parent 326ba25 commit c9315a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

download-binaries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [[ -z "$VERSION" ]]; then
99
fi
1010

1111
# Get release asset json
12-
RELEASES_URL=https://api.github.com/repos/sourcery-ai/sourcery/releases
12+
RELEASES_URL=https://api.github.com/repos/sourcery-ai/sourcery/releases?per_page=100
1313
ASSETS=$( curl -s $RELEASES_URL | jq ".[] | select(.tag_name == \"v$VERSION\") | .assets" )
1414
if [[ -z $ASSETS ]]; then
1515
echo Could not find version $VERSION in $RELEASES_URL

0 commit comments

Comments
 (0)