[Project] Changed deployment folder
This commit is contained in:
parent
14c866de64
commit
c31140abaf
|
@ -1,16 +1,17 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
projectName=strolch_bundle
|
projectName=strolch_bundle
|
||||||
DIST_STROLCH="/var/www/eitch/strolch.li/dist/snapshot"
|
|
||||||
DEPLOY_SERVER="hosting.eitchnet.ch"
|
|
||||||
ROOT="$(cd ${0%/*} ; pwd)"
|
ROOT="$(cd ${0%/*} ; pwd)"
|
||||||
|
|
||||||
projectVersion=$(grep -m 1 "<version>" pom.xml | tr '<>' '|' | cut -d '|' -f 3)
|
projectVersion=$(grep -m 1 "<version>" pom.xml | tr '<>' '|' | cut -d '|' -f 3)
|
||||||
if [ $? != 0 ] ; then
|
if [ $? != 0 ] ; then
|
||||||
echo "ERROR: Failed to parse version!"
|
echo "ERROR: Failed to parse version!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bundle_name="${projectName}-${projectVersion}"
|
bundle_name="${projectName}-${projectVersion}"
|
||||||
workDir="${ROOT}/target/${bundle_name}"
|
workDir="${ROOT}/target/${bundle_name}"
|
||||||
|
DIST_STROLCH="/var/www/eitch/strolch.li/dist/${projectVersion}"
|
||||||
|
DEPLOY_SERVER="hosting.eitchnet.ch"
|
||||||
|
|
||||||
echo "INFO: Creating bundle ${bundle_name}"
|
echo "INFO: Creating bundle ${bundle_name}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue