diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-30 18:30:57 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-01 18:25:02 +0800 |
commit | f13feed7f26aba22396ec1728a51a96fd9bd65e3 (patch) | |
tree | 4bf79d4b56ff37e4e600158c523116cde7b67c21 /scripts/test_emscripten.sh | |
parent | b0e4555db37006f1a72c4dd793aef6d69f70f4df (diff) | |
download | dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.tar.gz dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.tar.zst dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.zip |
Add script to retrieve version
Diffstat (limited to 'scripts/test_emscripten.sh')
-rwxr-xr-x | scripts/test_emscripten.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test_emscripten.sh b/scripts/test_emscripten.sh index aa93ed94..a2dbe61c 100755 --- a/scripts/test_emscripten.sh +++ b/scripts/test_emscripten.sh @@ -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 |