Skip to content

Commit 3bee17b

Browse files
tomusdrwascjones
authored andcommitted
Fix ordering, make idempotent. (#441)
1 parent 12b6210 commit 3bee17b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_automate/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -exu
44

55
VERSION=$(grep "^version" ./core/Cargo.toml | sed -e 's/.*"\(.*\)"/\1/')
6-
ORDER=(core core-client/transports core-client server-utils tcp ws ws/client http ipc stdio pubsub derive test)
6+
ORDER=(core server-utils tcp ws http ipc stdio pubsub core-client/transports core-client derive test)
77

88
echo "Publishing version $VERSION"
99
cargo clean
@@ -12,7 +12,7 @@ for crate in ${ORDER[@]}; do
1212
cd $crate
1313
echo "Publishing $crate@$VERSION"
1414
sleep 5
15-
cargo publish $@
15+
cargo publish $@ || read -p "\n\t Publishing $crate failed. Press [enter] to continue."
1616
cd -
1717
done
1818

0 commit comments

Comments
 (0)