aboutsummaryrefslogtreecommitdiffstats
path: root/script-dmaapbc-docker-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'script-dmaapbc-docker-build.sh')
-rwxr-xr-xscript-dmaapbc-docker-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-dmaapbc-docker-build.sh b/script-dmaapbc-docker-build.sh
index 858f5dc..1ea9dcd 100755
--- a/script-dmaapbc-docker-build.sh
+++ b/script-dmaapbc-docker-build.sh
@@ -26,10 +26,10 @@ fi
IMAGE='openecomp/dcae_dmaapbc'
VERSION=$(xpath -e '//project/version/text()' 'pom.xml')
echo "$VERSION"
+VERSION=$(echo $VERSION |sed 's/\"//')
EXT=$(echo "$VERSION" | rev | cut -s -f1 -d'-' | rev)
if [ -z "$EXT" ]; then
VERSION="${VERSION}-STAGING"
- echo "$VERSION"
fi
TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
echo $VERSION