]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Nifty script to make releases in svn tagged.
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 11 Jan 2007 14:29:06 +0000 (14:29 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 11 Jan 2007 14:29:06 +0000 (14:29 +0000)
svn-id: @8152

make-tag.sh [new file with mode: 0755]

diff --git a/make-tag.sh b/make-tag.sh
new file mode 100755 (executable)
index 0000000..559f404
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+url=$(svn info | awk '/^URL:/{gsub("/trunk$", "", $2); print $2}')
+rev=$(svn info | awk '/^Revision:/{print $2}')
+
+version=$(awk -F, '/AC_INIT/{print $2}' configure.ac | tr -d '[ ]')
+tag="$version"
+
+echo "Making tag: $tag at revision $rev"
+echo ""
+echo "Press ENTER to continue..."
+read a
+
+svn cp $url/trunk $url/tags/$tag
This page took 0.056082 seconds and 4 git commands to generate.