diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-15 02:35:42 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-15 02:35:42 +0800 |
commit | 8fe36599a2ea78d58d8dcc0752520a35fc33a6fa (patch) | |
tree | fb559d714a8d458306b75167bfe34d3d8577fa0a | |
parent | bb556e1193d8cbe657e47243c18e6913ac26e688 (diff) | |
download | dexon-solidity-8fe36599a2ea78d58d8dcc0752520a35fc33a6fa.tar dexon-solidity-8fe36599a2ea78d58d8dcc0752520a35fc33a6fa.tar.gz dexon-solidity-8fe36599a2ea78d58d8dcc0752520a35fc33a6fa.tar.bz2 dexon-solidity-8fe36599a2ea78d58d8dcc0752520a35fc33a6fa.tar.lz dexon-solidity-8fe36599a2ea78d58d8dcc0752520a35fc33a6fa.tar.xz dexon-solidity-8fe36599a2ea78d58d8dcc0752520a35fc33a6fa.tar.zst dexon-solidity-8fe36599a2ea78d58d8dcc0752520a35fc33a6fa.zip |
Simplify publish script
-rwxr-xr-x | scripts/travis-emscripten/publish_binary.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/travis-emscripten/publish_binary.sh b/scripts/travis-emscripten/publish_binary.sh index 8fb0a2bc..7bf6f369 100755 --- a/scripts/travis-emscripten/publish_binary.sh +++ b/scripts/travis-emscripten/publish_binary.sh @@ -81,16 +81,18 @@ else fi +NEWFILE=./bin/"soljson-$FULLVERSION.js" + # 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" +cp ../soljson.js "$NEWFILE" # Run update script npm run update # Publish updates -git add ./bin/"soljson-$FULLVERSION.js" +git add "$NEWFILE" git commit -a -m "Added compiler version $FULLVERSION" git push origin gh-pages |