Skip to content

Commit

Permalink
Improve publish script.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw committed Jun 3, 2019
1 parent 9917ed8 commit 6583d73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ set -exu
VERSION=$(grep "^version" ./ethabi/Cargo.toml | sed -e 's/.*"\(.*\)"/\1/')
ORDER=(ethabi derive contract cli)

echo "Publishing $VERSION"
cargo clean

for crate in ${ORDER[@]}; do
echo "Publishing $crate@$VERSION"
sleep 5
cd $crate
cargo publish $@
cd -
Expand Down

0 comments on commit 6583d73

Please sign in to comment.