From bb556e1193d8cbe657e47243c18e6913ac26e688 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 14 Oct 2016 19:33:10 +0100 Subject: Change solc-bin publish script to support npm --- scripts/travis-emscripten/publish_binary.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts/travis-emscripten') diff --git a/scripts/travis-emscripten/publish_binary.sh b/scripts/travis-emscripten/publish_binary.sh index 236d976a..8fb0a2bc 100755 --- a/scripts/travis-emscripten/publish_binary.sh +++ b/scripts/travis-emscripten/publish_binary.sh @@ -81,9 +81,16 @@ else fi +# Prepare for update script +npm install + # This file is assumed to be the product of the build_emscripten.sh script. cp ../soljson.js ./bin/"soljson-$FULLVERSION.js" -node ./update + +# Run update script +npm run update + +# Publish updates git add ./bin/"soljson-$FULLVERSION.js" git commit -a -m "Added compiler version $FULLVERSION" git push origin gh-pages -- cgit