aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/docker_deploy.sh
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-06-30 18:30:57 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-01 18:25:02 +0800
commitf13feed7f26aba22396ec1728a51a96fd9bd65e3 (patch)
tree4bf79d4b56ff37e4e600158c523116cde7b67c21 /scripts/docker_deploy.sh
parentb0e4555db37006f1a72c4dd793aef6d69f70f4df (diff)
downloaddexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.tar
dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.tar.gz
dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.tar.bz2
dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.tar.lz
dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.tar.xz
dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.tar.zst
dexon-solidity-f13feed7f26aba22396ec1728a51a96fd9bd65e3.zip
Add script to retrieve version
Diffstat (limited to 'scripts/docker_deploy.sh')
-rwxr-xr-xscripts/docker_deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/docker_deploy.sh b/scripts/docker_deploy.sh
index 0abde840..00705725 100755
--- a/scripts/docker_deploy.sh
+++ b/scripts/docker_deploy.sh
@@ -3,7 +3,7 @@
set -e
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
-version=$(grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? $(dirname "$0")/../CMakeLists.txt)
+version=$($(dirname "$0")/get_version.sh)
if [ "$TRAVIS_BRANCH" = "develop" ]
then
docker tag ethereum/solc:build ethereum/solc:nightly;