From 9c6b72f27b5b0b572c83ed8b91cca0d44ae22f62 Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Thu, 26 Dec 2024 13:53:59 +0300 Subject: [PATCH] fix: Fixed array handling and argument passing in script --- tools/publish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/publish.sh b/tools/publish.sh index 10f7dfe45..3ff41ff8e 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