package: retry failed uploads

This commit is contained in:
Max Weber
2020-06-02 21:36:51 -06:00
parent feb301dd09
commit 00cb2e40e3
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ perl -e "print pack('N', -s \"$MANIFEST.sig\")" > "$MANIFEST.out"
cat "$MANIFEST.sig" >> "$MANIFEST.out"
cat "$MANIFEST" >> "$MANIFEST.out"
curl --fail \
curl --fail --retry 5 --retry-connrefused \
--user "$REPO_CREDS" \
--upload-file "$MANIFEST.out" "$REPO_ROOT/$RUNELITE_VERSION/manifest.js"

View File

@@ -98,7 +98,7 @@ if [ -e "icon.png" ]; then
ICON_UPLOAD=("--upload-file" "icon.png" "$LOCATION.png")
fi
curl --fail \
curl --fail --retry 5 --retry-connrefused \
--user "$REPO_CREDS" \
--upload-file "$BUILDDIR/plugin.manifest" "$LOCATION.manifest" \
--upload-file "$BUILDDIR/plugin.jar" "$LOCATION.jar" \