From 302affeb2901c10a19f45fcc20a7ed0ae052f028 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 10 Oct 2016 22:54:37 +0100 Subject: [PATCH 1/2] solc-bin publish script should let the update script decide which files changed --- scripts/travis-emscripten/publish_binary.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/travis-emscripten/publish_binary.sh b/scripts/travis-emscripten/publish_binary.sh index e2cc1eeab..1721aef24 100755 --- a/scripts/travis-emscripten/publish_binary.sh +++ b/scripts/travis-emscripten/publish_binary.sh @@ -84,8 +84,6 @@ fi # This file is assumed to be the product of the build_emscripten.sh script. cp ../soljson.js ./bin/"soljson-$FULLVERSION.js" node ./update -cd bin -git add . -git add ../soljson.js -git commit -m "Added compiler version $FULLVERSION" +git add ./bin/"soljson-$FULLVERSION.js" +git commit -m "Added compiler version $FULLVERSION" -a git push origin gh-pages From 4825cdb62e6fb737ac6ac4436ec39973c28e2eda Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 12 Oct 2016 15:23:18 +0200 Subject: [PATCH 2/2] Make "-a" more visible. --- scripts/travis-emscripten/publish_binary.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/travis-emscripten/publish_binary.sh b/scripts/travis-emscripten/publish_binary.sh index 1721aef24..236d976a0 100755 --- a/scripts/travis-emscripten/publish_binary.sh +++ b/scripts/travis-emscripten/publish_binary.sh @@ -85,5 +85,5 @@ fi cp ../soljson.js ./bin/"soljson-$FULLVERSION.js" node ./update git add ./bin/"soljson-$FULLVERSION.js" -git commit -m "Added compiler version $FULLVERSION" -a +git commit -a -m "Added compiler version $FULLVERSION" git push origin gh-pages