blob: 5d9c602a80740d6deb68b46d72758b78c2ecab12 [file] [log] [blame]
david_williams7fe06d62007-06-28 03:09:34 +00001#!/bin/sh
2
3# script to copy update jars from their staging area to the releases area
4
5
6
7source ./parseSiteArg.shsource
8
9
10if [ "${2}" != "-doit" ] ; then
11 echo ""
12 echo " This is a dry run. Add -doit to actually copy"
13 echo ""
14 doit="--dry-run"
15else
16 doit=""
17fi
18
19echo ""
20echo " Copying new plugins and features "
david_williams72901652008-05-28 04:30:46 +000021echo " from ${milestoneDirectory}"
david_williams7fe06d62007-06-28 03:09:34 +000022echo " to ${releaseDir}"
23echo ""
24
david_williams72901652008-05-28 04:30:46 +000025rsync ${doit} --ignore-existing -rv -p ${milestoneDirectory}/features ${releaseDir}
26rsync ${doit} --ignore-existing -rv -p ${milestoneDirectory}/plugins ${releaseDir}
david_williams7fe06d62007-06-28 03:09:34 +000027
28if [ "${doit}" = "--dry-run" ] ; then
29 echo ""
30 echo " This was a dry run. Add -doit to actually copy"
31 echo ""
32fi
33
34
35