[jbosstools-commits] JBoss Tools SVN: r41824 - branches/jbosstools-3.3.x/build/publish.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Jun 8 12:45:32 EDT 2012


Author: nickboldt
Date: 2012-06-08 12:45:32 -0400 (Fri, 08 Jun 2012)
New Revision: 41824

Modified:
   branches/jbosstools-3.3.x/build/publish/publish.sh
Log:
JBDS-2197  provide symlink so that the .product build can find the sources zip using a generic name

Modified: branches/jbosstools-3.3.x/build/publish/publish.sh
===================================================================
--- branches/jbosstools-3.3.x/build/publish/publish.sh	2012-06-08 16:38:13 UTC (rev 41823)
+++ branches/jbosstools-3.3.x/build/publish/publish.sh	2012-06-08 16:45:32 UTC (rev 41824)
@@ -173,6 +173,10 @@
 	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/
+	# provide symlink so that the .product build can find the sources zip using a generic name, where SRCSNAME = ${JOB_NAME}-Sources-${ZIPSUFFIX}.zip
+	mkdir -p ${STAGINGDIR}/all; cd ${STAGINGDIR}/all
+	ln -s ../installer/${z} ${SRCSNAME}
+	ln -s ../installer/${z}.MD5 ${SRCSNAME}.MD5
 	foundSourcesZip=1
 done
 if [[ $foundSourcesZip -eq 0 ]]; then



More information about the jbosstools-commits mailing list