Created
July 5, 2011 05:24
-
-
Save freemed/1064290 to your computer and use it in GitHub Desktop.
Ganglia svn tagging script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# tag-ganglia-release | |
# jeff@freemedsoftware.org | |
# | |
TAG=$1 | |
FROM=$2 | |
if [ "$TAG" == "" -o "$FROM" == "" ]; then | |
echo "syntax: $0 TAG FROM" | |
echo " TAG : destination subversion tag / version" | |
echo " FROM : source in subversion tree ( 'trunk' or 'branches/X.X' )" | |
exit | |
fi | |
svn cp -m "Tag release ${TAG}" https://ganglia.svn.sourceforge.net/svnroot/ganglia/${FROM} https://ganglia.svn.sourceforge.net/svnroot/ganglia/tags/${TAG} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment