diff --git a/build_manifest.sh b/build_manifest.sh index 3a19417a9..3e0989e26 100755 --- a/build_manifest.sh +++ b/build_manifest.sh @@ -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" diff --git a/build_plugin.sh b/build_plugin.sh index 9ba646eb3..3902cf464 100755 --- a/build_plugin.sh +++ b/build_plugin.sh @@ -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" \