File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ echo "Tagging and releasing all Rust projects..."
12
12
echo " Logging in to crates.io..."
13
13
cargo login " ${CRATES_IO_TOKEN} "
14
14
# 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")
17
17
for PACKAGE in " ${PACKAGES[@]} " ; do
18
18
PKG_VERSION=$( cargo pkgid -p " $PACKAGE " | cut -d " #" -f2)
19
19
VERSION=${PKG_VERSION#*@ }
@@ -23,6 +23,6 @@ for PACKAGE in "${PACKAGES[@]}"; do
23
23
for attempt in {1..3}; do
24
24
echo " Attempt $attempt : Publishing $PACKAGE ..."
25
25
cargo release publish --package " $PACKAGE " --execute --no-confirm && break || echo " Attempt $attempt failed, retrying in 20..."
26
- sleep 20
26
+ sleep 15
27
27
done
28
28
done
You can’t perform that action at this time.
0 commit comments