diff --git a/VERSION b/VERSION index 30291cb..afad818 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.10.0 +3.11.0 diff --git a/package/usr/bin/gitaptly_scan b/package/usr/bin/gitaptly_scan index 6845ef3..c0bd840 100755 --- a/package/usr/bin/gitaptly_scan +++ b/package/usr/bin/gitaptly_scan @@ -7,9 +7,9 @@ else fi per_page=100 url="https://api.github.com/repos/$1/releases?per_page=$per_page" -curl --no-progress-meter --fail --head -H "$auth_header" "$url" \ +curl --no-progress-meter --fail --retry 16 --retry-all-errors --head -H "$auth_header" "$url" \ | grep '^link: ' | cut -d ' ' -f 2- | tr -d ' <>' | tr ',' '\n' \ | grep 'rel="last"' | cut -d ';' -f1 | cut -d '?' -f 2- | tr '&' '\n' \ | grep '^page=' | cut -d = -f 2 \ - | xargs seq 1 | xargs parallel -q curl --no-progress-meter --fail -H "$auth_header" "$url"\&page={} ::: \ + | xargs seq 1 | xargs parallel -q curl --no-progress-meter --fail --retry 16 --retry-all-errors -H "$auth_header" "$url"\&page={} ::: \ | jq '.[] | .assets[] | .browser_download_url' -r | (grep '.deb$' || true)