SVN: toys/stbr/cvslog.sh

shadzik shadzik at pld-linux.org
Mon Feb 9 18:08:38 CET 2009


Author: shadzik
Date: Mon Feb  9 18:08:38 2009
New Revision: 10114

Modified:
   toys/stbr/cvslog.sh
Log:
- add info about last auto-tag that was found (requested by hawk)


Modified: toys/stbr/cvslog.sh
==============================================================================
--- toys/stbr/cvslog.sh	(original)
+++ toys/stbr/cvslog.sh	Mon Feb  9 18:08:38 2009
@@ -39,6 +39,14 @@
 	TAG_INFO="Release seems not to be integer. Please correct this before sending upgrade."
 fi
 
+LAST_AUTOTAG=$(cvs -d ":pserver:cvs at cvs.pld-linux.org/cvsroot/" status -v SPECS/$SPEC |grep auto-$DIST |head -1 |awk '{print $1}')
+
+if [ "x$LAST_AUTOTAG" != "x" ]; then
+	LAST_AT="$LAST_AUTOTAG"
+else
+	LAST_AT="This spec was probably never sent to $DIST builders."
+fi
+
 function sendreq() {
 /usr/sbin/sendmail -t <<EOF
 From: $FROM <$FROM at IRC-bot>
@@ -59,6 +67,9 @@
 Tag information:
 $TAG_INFO
 
+Last auto-tag found:
+$LAST_AT
+
 Thank you.
 
 Yours truly,


More information about the pld-cvs-commit mailing list