We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fdce4b commit eed8ec0Copy full SHA for eed8ec0
scripts/common.sh
@@ -19,10 +19,11 @@ get_latest_github_release_tag () {
19
20
# get the tags JSON from the GitHub API and parse it manually,
21
# or output it to stderr if the server returns an error
22
+ # per_page=100 is required for some repositories with a lot of beta tags
23
github_tags=`curl \
24
--silent --show-error --fail-with-body \
25
--header "$GITHUB_AUTHORIZATION_HEADER" \
- https://api.github.com/repos/$GITHUB_REPO/tags`
26
+ https://api.github.com/repos/$GITHUB_REPO/tags?per_page=100`
27
28
echo "$github_tags" \
29
| grep '"name":' \
0 commit comments