[jbosstools-commits] JBoss Tools SVN: r43936 - trunk/build/publish.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Fri Sep 21 13:20:07 EDT 2012
Author: nickboldt
Date: 2012-09-21 13:20:07 -0400 (Fri, 21 Sep 2012)
New Revision: 43936
Modified:
trunk/build/publish/promote.sh
Log:
remove the -publish suffix from JOBNAME before using it in the path
Modified: trunk/build/publish/promote.sh
===================================================================
--- trunk/build/publish/promote.sh 2012-09-21 16:24:02 UTC (rev 43935)
+++ trunk/build/publish/promote.sh 2012-09-21 17:20:07 UTC (rev 43936)
@@ -19,7 +19,7 @@
PROJECT_NAME=$4
# should be ${JOB_NAME}/all/repo, but may also be something else, eg., for SwitchYard-Tools, use ${JOB_NAME}/eclipse
-if [[ ${JOB_NAME} ]]; then PUBLISH_PATH=${JOB_NAME}/all/repo; fi
+if [[ ${JOB_NAME} ]]; then PUBLISH_PATH=${JOB_NAME//-publish}; PUBLISH_PATH=${PUBLISH_PATH//-promote}/all/repo; fi
if [[ $5 ]]; then PUBLISH_PATH=$5; fi
if [[ $4 ]]; then
@@ -39,4 +39,4 @@
echo "Example: $0 development juno 3.3.0.Beta3 modeshape"
echo "Example: $0 stable indigo 0.5.0.Final switchyard ${JOB_NAME}/eclipse"
exit 1
-fi
\ No newline at end of file
+fi
More information about the jbosstools-commits
mailing list