diff options
author | Carsten Lund <lund@research.att.com> | 2017-02-20 01:04:22 +0000 |
---|---|---|
committer | Carsten Lund <lund@research.att.com> | 2017-02-20 01:04:22 +0000 |
commit | 8e9a1b32e3f415054bd0d29c832e79e680398c02 (patch) | |
tree | 57ba6f62bfd0aa42b6828df8acd6b99d3a83b1e9 | |
parent | fbac5fed071d447234effe657c810d66758d3866 (diff) |
Fixed bug in finding version to push.
Change-Id: Iedf1fd2c29dc5605f1b8a2edbbc362df46e97eae
Signed-off-by: Carsten Lund <lund@research.att.com>
-rw-r--r-- | dcae-demo-controller/src/main/docker-build/push.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dcae-demo-controller/src/main/docker-build/push.sh b/dcae-demo-controller/src/main/docker-build/push.sh index 379cfd5..5026c1d 100644 --- a/dcae-demo-controller/src/main/docker-build/push.sh +++ b/dcae-demo-controller/src/main/docker-build/push.sh @@ -6,7 +6,7 @@ set -x ## ensure we are in the right directory. cd $(dirname $(readlink -e $0)) -GITROOT=../../../../.. +GITROOT=../../.. VERSION=$(grep version $GITROOT/pom.xml | head -1 | sed 'sX</.*XX' | sed 's/.*>//') DOCKER_REG=$1 TAG=$DOCKER_REG/dcae-controller:$VERSION |