Skip to content

Commit 711f8d7

Browse files
swenswen
authored andcommitted
wip
1 parent eaa880c commit 711f8d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/release-all-rust-crates.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ echo "Tagging and releasing all Rust projects..."
1212
echo "Logging in to crates.io..."
1313
cargo login "${CRATES_IO_TOKEN}"
1414
# TODO: allow dynamic releases, and add gh release workflow
15-
# PACKAGES=("aligned-sized" "light-heap" "light-bounded-vec" "light-utils" "light-hasher" "light-macros" "light-hash-set" "light-merkle-tree-reference" "light-concurrent-merkle-tree" "light-indexed-merkle-tree" "light-prover-client" "light-verifier" "account-compression" "light-registry" "light-system-program" "light-compressed-token" "light-test-utils" "light-sdk")
16-
PACKAGES=("photon-api" "light-test-utils" "light-sdk")
15+
PACKAGES=("aligned-sized" "light-heap" "light-bounded-vec" "light-utils" "light-hasher" "light-macros" "light-hash-set" "light-merkle-tree-reference" "light-concurrent-merkle-tree" "light-indexed-merkle-tree" "light-prover-client" "light-verifier" "account-compression" "light-registry" "light-system-program" "light-compressed-token" "photon-api""light-test-utils" "light-sdk")
16+
# PACKAGES=("photon-api" "light-test-utils" "light-sdk")
1717
for PACKAGE in "${PACKAGES[@]}"; do
1818
PKG_VERSION=$(cargo pkgid -p "$PACKAGE" | cut -d "#" -f2)
1919
VERSION=${PKG_VERSION#*@}
@@ -23,6 +23,6 @@ for PACKAGE in "${PACKAGES[@]}"; do
2323
for attempt in {1..3}; do
2424
echo "Attempt $attempt: Publishing $PACKAGE..."
2525
cargo release publish --package "$PACKAGE" --execute --no-confirm && break || echo "Attempt $attempt failed, retrying in 20..."
26-
sleep 20
26+
sleep 15
2727
done
2828
done

0 commit comments

Comments
 (0)