diff --git a/tools/publish.sh b/tools/publish.sh index 10f7dfe450..3ff41ff8e4 100755 --- a/tools/publish.sh +++ b/tools/publish.sh @@ -3,7 +3,7 @@ set -exu VERSION=$(grep "^version" ./ethabi/Cargo.toml | sed -e 's/.*"\(.*\)"/\1/') -ORDER=(ethabi derive contract cli) +ORDER=("ethabi" "derive" "contract" "cli") echo "Publishing $VERSION" cargo clean @@ -12,7 +12,7 @@ for crate in ${ORDER[@]}; do echo "Publishing $crate@$VERSION" sleep 5 cd $crate - cargo publish $@ + cargo publish "$@" cd - done