mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #1223 from ethereum/solc-bin-publish
Change solc-bin publish script to support npm
This commit is contained in:
commit
998c4a9758
@ -81,9 +81,18 @@ else
|
|||||||
fi
|
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.
|
# 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"
|
||||||
node ./update
|
|
||||||
git add ./bin/"soljson-$FULLVERSION.js"
|
# Run update script
|
||||||
|
npm run update
|
||||||
|
|
||||||
|
# Publish updates
|
||||||
|
git add "$NEWFILE"
|
||||||
git commit -a -m "Added compiler version $FULLVERSION"
|
git commit -a -m "Added compiler version $FULLVERSION"
|
||||||
git push origin gh-pages
|
git push origin gh-pages
|
||||||
|
Loading…
Reference in New Issue
Block a user