summaryrefslogtreecommitdiffstats
path: root/nokiav2/deployment
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2018-04-13 13:13:08 +0800
committeryangyan <yangyanyj@chinamobile.com>2018-04-13 13:13:19 +0800
commit700a95bed7d2d2ab1cb6e75ea1e4391dc8e76f50 (patch)
tree52e898e99ce3f3c6c240ca24d99505e065af3c4e /nokiav2/deployment
parentb754227da778e1e835336ae39e304ffc8059a009 (diff)
Fix docker build error
Issue-ID: VFC-880 Change-Id: I381206efc096954f021a864520dc51828fbda131 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'nokiav2/deployment')
-rwxr-xr-xnokiav2/deployment/src/main/resources/build_image.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/nokiav2/deployment/src/main/resources/build_image.sh b/nokiav2/deployment/src/main/resources/build_image.sh
index 384c213a..0465374d 100755
--- a/nokiav2/deployment/src/main/resources/build_image.sh
+++ b/nokiav2/deployment/src/main/resources/build_image.sh
@@ -29,7 +29,8 @@ DOCKER_BUILD_DIR=`cd $DIRNAME/; pwd`
echo "----- Build directory ${DOCKER_BUILD_DIR}"
cd ${DOCKER_BUILD_DIR}
-VERSION=`xmlstarlet sel -t -v "/_:project/_:version" ../../../pom.xml | sed 's/-SNAPSHOT//g'`
+#VERSION=`xmlstarlet sel -t -v "/_:project/_:version" ../../../pom.xml | sed 's/-SNAPSHOT//g'`
+VERSION=`xmlstarlet sel -t -v "/_:project/_:version" ../../../pom.xml`
echo "------ Detected version: $VERSION"
PROJECT="vfc"