aboutsummaryrefslogtreecommitdiffstats
path: root/maintainer/tag
diff options
context:
space:
mode:
authorjames <>2008-02-03 16:20:24 +0000
committerjames <>2008-02-03 16:20:24 +0000
commit4163308ecae26c76d22e4cc80d8bae729b06b94f (patch)
tree5d72762d62aaf3e8843123a967280623e3bd0f64 /maintainer/tag
downloadsympathy-4163308ecae26c76d22e4cc80d8bae729b06b94f.tar.gz
sympathy-4163308ecae26c76d22e4cc80d8bae729b06b94f.tar.bz2
sympathy-4163308ecae26c76d22e4cc80d8bae729b06b94f.zip
*** empty log message ***
Diffstat (limited to 'maintainer/tag')
-rwxr-xr-xmaintainer/tag36
1 files changed, 36 insertions, 0 deletions
diff --git a/maintainer/tag b/maintainer/tag
new file mode 100755
index 0000000..0565a54
--- /dev/null
+++ b/maintainer/tag
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# tag:
+#
+# Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
+# All rights reserved.
+#
+# $Id$
+#
+# $Log$
+# Revision 1.1 2008/02/03 16:20:24 james
+# *** empty log message ***
+#
+#
+#
+#
+cvs commit -m ""
+
+FILES=`cat version-files`
+CHK=`cat $FILES | md5sum | awk '{print $1}'`
+TG=`grep $CHK version-md5sums | awk '{print $2}'`
+if [ .$TG != . ]; then
+ echo This code already tagged as Version $TG
+ exit 0
+fi
+
+MAJOR=`cat version-major`
+MINOR=`cat version-minor`
+MICRO=$[ `cat version-micro` + 1 ]
+
+echo $MICRO > version-micro
+
+echo "$CHK ${MAJOR}.${MINOR}.${MICRO}" >> version-md5sums
+
+cvs commit -m ""
+cvs tag libsympathy-$MAJOR_$MINOR_$MICRO .