blob: 6d3bc646a1c05967b701aa53b61ced260b82ab25 [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 ${milestoneDir}"
echo " to ${releaseDir}"
echo ""
rsync ${doit} --ignore-existing -rv -p ${milestoneDir}/features ${releaseDir}
rsync ${doit} --ignore-existing -rv -p ${milestoneDir}/plugins ${releaseDir}
if [ "${doit}" = "--dry-run" ] ; then
echo ""
echo " This was a dry run. Add -doit to actually copy"
echo ""
fi