Skip to content

Commit

Permalink
Merge pull request rust-ethereum#153 from paritytech/td-script-improve
Browse files Browse the repository at this point in the history
Improve publish script
  • Loading branch information
dvdplm authored Aug 7, 2019
2 parents f4e3ec7 + 7f6d7b2 commit a2f322d
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 a2f322d

Please sign in to comment.