blob: 5d9c602a80740d6deb68b46d72758b78c2ecab12 [file] [log] [blame]
#!/bin/sh
# script to copy update jars from their staging area to the releases area
source ./parseSiteArg.shsource
if [ "${2}" != "-doit" ] ; then
echo ""
echo " This is a dry run. Add -doit to actually copy"
echo ""
doit="--dry-run"
else
doit=""
fi
echo ""
echo " Copying new plugins and features "
echo " from ${milestoneDirectory}"
echo " to ${releaseDir}"
echo ""
rsync ${doit} --ignore-existing -rv -p ${milestoneDirectory}/features ${releaseDir}
rsync ${doit} --ignore-existing -rv -p ${milestoneDirectory}/plugins ${releaseDir}
if [ "${doit}" = "--dry-run" ] ; then
echo ""
echo " This was a dry run. Add -doit to actually copy"
echo ""
fi