Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
swen authored and swen committed Sep 8, 2024
1 parent c26f3d7 commit 5ff27fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release-all-rust-crates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5ff27fc

Please sign in to comment.