Updates solc-js tests to 0.6.0.

This commit is contained in:
Erik Kundt 2019-09-19 20:09:24 +02:00
parent 36271beca8
commit 9a42a93955

View File

@ -39,8 +39,8 @@ VERSION="$2"
DIR=$(mktemp -d)
(
echo "Preparing solc-js (master)..."
git clone --depth 1 --branch master https://github.com/ethereum/solc-js "$DIR"
echo "Preparing solc-js (master_060)..."
git clone --depth 1 --branch master_060 https://github.com/ethereum/solc-js "$DIR"
cd "$DIR"
# disable "prepublish" script which downloads the latest version
# (we will replace it anyway and it is often incorrectly cached
@ -53,11 +53,6 @@ DIR=$(mktemp -d)
rm -f soljson.js
cp "$SOLJSON" soljson.js
# ensure to use always 0.5.0 sources
# FIXME: should be removed once the version bump in this repo is done
rm -rf test/DAO040
cp -R test/DAO test/DAO040
# Update version (needed for some tests)
echo "Updating package.json to version $VERSION"
npm version --allow-same-version --no-git-tag-version $VERSION