[Galago-commits] r2744 - trunk/support

galago-commits at freedesktop.org galago-commits at freedesktop.org
Thu Apr 20 11:55:25 PDT 2006


Author: chipx86
Date: 2006-04-20 11:55:22 -0700 (Thu, 20 Apr 2006)
New Revision: 2744

Added:
   trunk/support/branch-release.pl
Log:
Add the branch-release.pl script.


Added: trunk/support/branch-release.pl
===================================================================
--- trunk/support/branch-release.pl	2006-04-20 18:54:16 UTC (rev 2743)
+++ trunk/support/branch-release.pl	2006-04-20 18:55:22 UTC (rev 2744)
@@ -0,0 +1,19 @@
+#!/usr/bin/perl
+
+if ($#ARGV != 1) {
+	print "Usage: branch-release.pl module version\n";
+}
+
+$MODULE = $ARGV[0];
+$VERSION = $ARGV[1];
+
+$REPO = "http://svn.galago-project.org";
+$SOURCE_URI = "$REPO/trunk/$MODULE";
+
+$data = `svn info $SOURCE_URI`;
+
+if ($data =~ /Last Changed Rev: (\d+)/) {
+	$rev = $1;
+	$msg = "Branch $MODULE $VERSION for release (r$rev)";
+	`svn cp $SOURCE_URI $REPO/releases/$MODULE/$VERSION -m "$msg"`;
+}


Property changes on: trunk/support/branch-release.pl
___________________________________________________________________
Name: svn:executable
   + *



More information about the galago-commits mailing list