Author: nickboldt
Date: 2010-10-06 17:10:15 -0400 (Wed, 06 Oct 2010)
New Revision: 25537
Modified:
trunk/build/target-platform/publish.sh
Log:
exclude .blobstore from rsync
Modified: trunk/build/target-platform/publish.sh
===================================================================
--- trunk/build/target-platform/publish.sh 2010-10-06 19:35:51 UTC (rev 25536)
+++ trunk/build/target-platform/publish.sh 2010-10-06 21:10:15 UTC (rev 25537)
@@ -8,18 +8,19 @@
DESTINATION=tools@filemgmt.jboss.org:/downloads_htdocs/tools/updates/target-platform
if [[ -d ${repoPath} ]]; then
+ cd ${repoPath}
+
du -sh ${repoPath} ${destinationPath}/${targetFile}
# copy/update into central place for reuse by local downstream build jobs
- date; rsync -arzq --delete ${repoPath}/* ${destinationPath}/${targetFile}/
+ date; rsync -arzq --delete --exclude '.blobstore' *
${destinationPath}/${targetFile}/
du -sh ${repoPath} ${destinationPath}/${targetFile}
# upload to
http://download.jboss.org/jbossotools/updates/target-platform/latest/ for
public use
- date; rsync -arzq --delete --rsh=ssh ${repoPath}/* ${DESTINATION}/latest/
+ date; rsync -arzq --delete --rsh=ssh --exclude '.blobstore' *
${DESTINATION}/latest/
# create zip, then upload to
http://download.jboss.org/jbossotools/updates/target-platform/${targetFil... for public
use
- cd ${repoPath}
zip -q -r9 /tmp/${targetFile}.zip *
du -sh /tmp/${targetFile}.zip
date; rsync -arzq --delete --rsh=ssh /tmp/${targetFile}.zip ${DESTINATION}/