mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add script to retrieve version
This commit is contained in:
@@ -45,7 +45,7 @@ rm -f soljson.js
|
||||
cp ../solc/soljson.js soljson.js
|
||||
|
||||
# Update version (needed for some tests)
|
||||
VERSION=$(grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? $(dirname "$0")/../CMakeLists.txt)
|
||||
VERSION=$(../../scripts/get_version.sh)
|
||||
echo "Updating package.json to version $VERSION"
|
||||
npm version $VERSION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user