File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ function fetch_pear() {
55 auth_flag=" -H 'Authorization: token $GITHUB_TOKEN '"
66 fi
77
8- latest_tag=$( curl -sSfL --retry 5 --retry-delay 60 " ${auth_flag} " https://api.github.com/repos/pear/pearweb_phars/releases/latest | jq -r .tag_name)
9- curl -sSfL " ${auth_flag} " --retry 2 --retry-delay 60 -O https://raw.githubusercontent.com/pear/pearweb_phars/${latest_tag} /go-pear.phar
8+ latest_tag=$( curl -sSfL --retry 20 " ${auth_flag} " https://api.github.com/repos/pear/pearweb_phars/releases/latest | jq -r .tag_name)
9+ curl -sSfL " ${auth_flag} " --retry 20 -O https://raw.githubusercontent.com/pear/pearweb_phars/${latest_tag} /go-pear.phar
1010
1111 if [ ! -f go-pear.phar ]; then
1212 echo " Latest PEAR tarball not found"
You can’t perform that action at this time.
0 commit comments