Skip to content
Snippets Groups Projects
Forked from DM / dm-docs
261 commits behind, 841 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
dm_svn_release.sh 428 B
#!/bin/sh

SVN_ROOT=https://subversion.xray.aps.anl.gov/DataManagement
release=$1
tag=$2
if [ -z $release ]; then
    echo "Usage: $0 <release> [$tag]"
    exit 1
fi
if [ -z $tag ]; then
    svn copy $SVN_ROOT/trunk $SVN_ROOT/releases/$release -m "Creating
    release $release from current trunk"
else
    svn copy $SVN_ROOT/tags/$tag $SVN_ROOT/releases/$release -m "Creating
    release $release from tag $tag"
fi