aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/travis-emscripten/publish_binary.sh9
1 files changed, 8 insertions, 1 deletions
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