#!/bin/bash
# This script is used to prepare the tagging of our svn repository

# Remove this if you want to use it on your server
exit 0

TAG=$1
MESSAGE="Preparing the 0.9.16.$TAG release"
TAGNAME=version_0_9_16-$TAG

svn cp -m "$MESSAGE" svn+ssh://svn.savannah.gnu.org/phpgroupware/core/branches/branch_0_9_16 svn+ssh://svn.savannah.gnu.org/phpgroupware/core/tags/$TAGNAME

for mod in $(svn ls svn+ssh://svn.savannah.gnu.org/phpgroupware/modules/);
do
	 svn cp -m "$MESSAGE" svn+ssh://svn.savannah.gnu.org/phpgroupware/modules/$mod/branches/branch_0_9_16 svn+ssh://svn.savannah.gnu.org/phpgroupware/modules/$mod/tags/version_0_9_16-$TAG
done

exit 0

