mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add symlinks to solc-bin/wasm for releases.
This commit is contained in:
parent
7496598b5a
commit
0508e24385
@ -81,18 +81,22 @@ else
|
||||
fi
|
||||
|
||||
|
||||
NEWFILE=./bin/"soljson-$FULLVERSION.js"
|
||||
NEWFILE="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 "$NEWFILE"
|
||||
cp ../soljson.js ./bin/"$NEWFILE"
|
||||
|
||||
# For releases, add a symlink to the wasm directory.
|
||||
[ "$TRAVIS_BRANCH" = release ] && ln -sf ../bin/"$NEWFILE" ./wasm/"$NEWFILE"
|
||||
|
||||
# Run update script
|
||||
npm run update
|
||||
|
||||
# Publish updates
|
||||
git add "$NEWFILE"
|
||||
git add ./bin/"$NEWFILE"
|
||||
[ "$TRAVIS_BRANCH" = release ] && git add ./wasm/"$NEWFILE"
|
||||
git commit -a -m "Added compiler version $FULLVERSION"
|
||||
git push origin gh-pages
|
||||
|
Loading…
Reference in New Issue
Block a user