[jbosstools-commits] JBoss Tools SVN: r41736 - branches/jbosstools-3.3.x/build/publish.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Jun 6 01:47:20 EDT 2012
Author: nickboldt
Date: 2012-06-06 01:47:20 -0400 (Wed, 06 Jun 2012)
New Revision: 41736
Modified:
branches/jbosstools-3.3.x/build/publish/publish.sh
Log:
another approach to collecting and publishing the new zip in WORKSPACE/sources/product/sources/target/
Modified: branches/jbosstools-3.3.x/build/publish/publish.sh
===================================================================
--- branches/jbosstools-3.3.x/build/publish/publish.sh 2012-06-06 04:36:22 UTC (rev 41735)
+++ branches/jbosstools-3.3.x/build/publish/publish.sh 2012-06-06 05:47:20 UTC (rev 41736)
@@ -167,15 +167,15 @@
done
fi
-productSourcesZip="$(find ${WORKSPACE}/sources/product/sources/target -type f -name "jbdevstudio-product-sources-*.zip")"
-if [[ $productSourcesZip ]]; then
- # for now, but the JBDS sources into the /installer/ folder
- for z in $productSourcesZip; do
- mkdir -p ${STAGINGDIR}/installer/
- rsync -aq $z ${STAGINGDIR}/installer/
- for m in $(md5sum ${z}); do if [[ $m != ${z} ]]; then echo $m > ${z}.MD5; fi; done
- done
-else
+foundSourcesZip=0
+# for now, but the JBDS sources into the /installer/ folder
+for z in $(find ${WORKSPACE}/sources/product/sources/target -type f -name "jbdevstudio-product-sources-*.zip"); do
+ for m in $(md5sum ${z}); do if [[ $m != ${z} ]]; then echo $m > ${z}.MD5; fi; done
+ mkdir -p ${STAGINGDIR}/installer/
+ rsync -aq $z ${z}.MD5 ${STAGINGDIR}/installer/
+ foundSourcesZip=1
+done
+if [[ $foundSourcesZip -eq 0 ]]; then
# create sources zip
pushd ${WORKSPACE}/sources
mkdir -p ${STAGINGDIR}/all
More information about the jbosstools-commits
mailing list