diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2008-12-23 03:47:10 +0000 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2008-12-23 03:47:10 +0000 |
commit | 6f1d7a687258092b832d2a593242f57bb37a7e58 (patch) | |
tree | de384716074f078ca08719c088c9bcdd0e61a5d7 | |
parent | ba3c4ded5429334e28a26e5e821e221f42eedc8a (diff) | |
download | uriparser-6f1d7a687258092b832d2a593242f57bb37a7e58.tar.gz |
Tagging helper
git-svn-id: https://uriparser.svn.sourceforge.net/svnroot/uriparser/uriparser/trunk@400 119732b9-2324-0410-a8a5-815c10060bbe
-rwxr-xr-x | scripts/tag_trunk.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/tag_trunk.sh b/scripts/tag_trunk.sh new file mode 100755 index 0000000..b974760 --- /dev/null +++ b/scripts/tag_trunk.sh @@ -0,0 +1,22 @@ +#! /usr/bin/env bash +[ x$1 = x ] && { echo "USAGE: $0 <version>" ; exit 1 ; } + +version=$1 +base="https://uriparser.svn.sourceforge.net/svnroot/uriparser/uriparser" +src="${base}/trunk/" +dst="${base}/tags/uriparser-${version}" +msg="uriparser ${version}" + +echo "# svn cp -m \"${msg}\" \\" +echo "# \"${src}\" \\" +echo "# \"${dst}\" \\" +echo + +printf 'Shall I run this command? [y/N] ' +read -s line +[ "${line}" = y ] || exit 0 +echo + +echo "Running..." +svn cp -m "$msg" "$src" "$dst" +exit $? |