package: retry failed uploads

This commit is contained in:
Max Weber committed 2020-06-02 21:36:51 -06:00
1 parent feb301dd09
commit 00cb2e40e3
2 files changed
+2 -2

No files matched your search

+1 -1
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"
+1 -1
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" \