diff --git a/scripts/release-all-rust-crates.sh b/scripts/release-all-rust-crates.sh index eb80fce5cb..ba9b13fcd6 100755 --- a/scripts/release-all-rust-crates.sh +++ b/scripts/release-all-rust-crates.sh @@ -21,9 +21,9 @@ for PACKAGE in "${PACKAGES[@]}"; do echo "Creating tag for Rust package: $PACKAGE v$VERSION" git tag "${PACKAGE}-v${VERSION}" git push origin "${PACKAGE}-v${VERSION}" - for attempt in {1..3}; do + for attempt in {1..2}; do echo "Attempt $attempt: Publishing $PACKAGE..." cargo release publish --package "$PACKAGE" --execute --no-confirm && break || echo "Attempt $attempt failed, retrying in 20..." - sleep 13 + sleep 10 done done \ No newline at end of file