Author: nickboldt
Date: 2010-10-06 17:16:10 -0400 (Wed, 06 Oct 2010)
New Revision: 25538
Modified:
trunk/build/target-platform/publish.sh
Log:
tweak rsync rules
Modified: trunk/build/target-platform/publish.sh
===================================================================
--- trunk/build/target-platform/publish.sh 2010-10-06 21:10:15 UTC (rev 25537)
+++ trunk/build/target-platform/publish.sh 2010-10-06 21:16:10 UTC (rev 25538)
@@ -13,16 +13,16 @@
du -sh ${repoPath} ${destinationPath}/${targetFile}
# copy/update into central place for reuse by local downstream build jobs
- date; rsync -arzq --delete --exclude '.blobstore' *
${destinationPath}/${targetFile}/
+ date; rsync -arzqc --delete-after --delete-excluded --delay-updates --rsh=ssh --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 --exclude '.blobstore' *
${DESTINATION}/latest/
+ date; rsync -arzqc --delete-after --delete-excluded --delay-updates --rsh=ssh --exclude
'.blobstore' * ${DESTINATION}/latest/
# create zip, then upload to
http://download.jboss.org/jbossotools/updates/target-platform/${targetFil... for public
use
zip -q -r9 /tmp/${targetFile}.zip *
du -sh /tmp/${targetFile}.zip
- date; rsync -arzq --delete --rsh=ssh /tmp/${targetFile}.zip ${DESTINATION}/
+ date; rsync -arzq --rsh=ssh /tmp/${targetFile}.zip ${DESTINATION}/
rm -f /tmp/${targetFile}.zip
fi