mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Change solc-bin publish script to support npm
This commit is contained in:
parent
2d9109ba45
commit
bb556e1193
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user