Author: nickboldt
Date: 2011-01-10 12:02:56 -0500 (Mon, 10 Jan 2011)
New Revision: 28048
Modified:
trunk/build/publish.sh
Log:
create md5sum for 'additional sources' zip too
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2011-01-10 16:42:48 UTC (rev 28047)
+++ trunk/build/publish.sh 2011-01-10 17:02:56 UTC (rev 28048)
@@ -148,6 +148,7 @@
-x workingset\* -x labs\* -x build\* -x \*test\* -x \*target\* -x \*.class -x \*.svn\*
-x \*classes\* -x \*bin\* -x \*.zip \
-x \*docs\* -x \*reference\* -x \*releng\* -x \*.git\*
popd
+z=${STAGINGDIR}/all/${srczipname}; for m in $(md5sum ${z}); do if [[ $m != ${z} ]]; then
echo $m > ${z}.MD5; fi; done
# collect component zips from upstream aggregated build jobs
if [[ ${JOB_NAME/.aggregate} != ${JOB_NAME} ]] && [[ -d
${WORKSPACE}/sources/aggregate/site/zips ]]; then
@@ -172,8 +173,7 @@
popd
rm -fr ${STAGINGDIR}/all/sources
- z=${STAGINGDIR}/all/${SRCSNAME}
- for m in $(md5sum ${z}); do if [[ $m != ${z} ]]; then echo $m > ${z}.MD5; fi; done
+ z=${STAGINGDIR}/all/${SRCSNAME}; for m in $(md5sum ${z}); do if [[ $m != ${z} ]]; then
echo $m > ${z}.MD5; fi; done
fi
# generate list of zips in this job