From 800efec37d559a0c4817f0b13358d7d35bc259a3 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Tue, 5 Jul 2016 10:40:04 +0200 Subject: [PATCH] [Project] Changed how version is detected for bundle creation --- createBundle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createBundle.sh b/createBundle.sh index 3706efa46..432364492 100755 --- a/createBundle.sh +++ b/createBundle.sh @@ -4,13 +4,13 @@ projectName=strolch_bundle DIST_STROLCH="/var/www/eitch/strolch.li/dist/snapshot" DEPLOY_SERVER="hosting.eitchnet.ch" ROOT="$(cd ${0%/*} ; pwd)" -workDir="${ROOT}/target/${bundle_name}" projectVersion=$(grep -m 1 "" pom.xml | tr '<>' '|' | cut -d '|' -f 3) if [ $? != 0 ] ; then echo "ERROR: Failed to parse version!" fi bundle_name="${projectName}-${projectVersion}" +workDir="${ROOT}/target/${bundle_name}" echo "INFO: Creating bundle ${bundle_name}"