diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-04-03 15:33:18 -0700 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-04-03 15:33:18 -0700 |
commit | fd057a0ea5e080ea3bfa32f74796333a9ac1f8ab (patch) | |
tree | 9c5c6b9d6bf67655f144ffefeaf577c43c09ae9c /shell/docker-build.sh | |
parent | 0370d845111310d1fc99a45dbc0a7f1f40132e4b (diff) |
Fix IMAGE_VERSION variable
Fix typo on variable used to extract the IMAGE_VERSION
number
Change-Id: I91d48836d697c90398a788769d16750f468de917
Issue-ID: CIMAN-132
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'shell/docker-build.sh')
-rw-r--r-- | shell/docker-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/docker-build.sh b/shell/docker-build.sh index 3d633d088..c8dbd706d 100644 --- a/shell/docker-build.sh +++ b/shell/docker-build.sh @@ -4,7 +4,7 @@ set -e -o pipefail FULL_DATE=`date +'%Y%m%dT%H%M%S'` -IMAGE_VERSION= $( xmlstarlet sel -N "x=http://maven.apache.org/POM/4.0.0" -t -v "/x:project/x:version" pom.xml | cut -c1-5 ) +IMAGE_VERSION=`xmlstarlet sel -N "x=http://maven.apache.org/POM/4.0.0" -t -v "/x:project/x:version" pom.xml | cut -c1-5` case $DOCKERREGISTRY in '$DOCKER_REGISTRY:10004') DOCKER_TAG="$IMAGE_VERSION"-STAGING-"$FULL_DATE"Z |