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