[Pkg-samba-maint] r3133 - trunk/ctdb/debian

sathieu at alioth.debian.org sathieu at alioth.debian.org
Thu Dec 10 14:31:19 UTC 2009


Author: sathieu
Date: 2009-12-10 14:31:18 +0000 (Thu, 10 Dec 2009)
New Revision: 3133

Modified:
   trunk/ctdb/debian/uupdate-wrapper
Log:
defaults to version 0.0.0+git0 when master

Modified: trunk/ctdb/debian/uupdate-wrapper
===================================================================
--- trunk/ctdb/debian/uupdate-wrapper	2009-12-07 21:28:01 UTC (rev 3132)
+++ trunk/ctdb/debian/uupdate-wrapper	2009-12-10 14:31:18 UTC (rev 3133)
@@ -2,7 +2,7 @@
 
 file=$3
 if [ $2 = 'master' ]; then
-	version=1+git`date +'%Y%m%d'`
+	version=0.0.0+git0
 	git_version=$2
 else
 	version=$2
@@ -14,6 +14,7 @@
 #pull source from git
 git clone git://git.samba.org/sahlberg/ctdb.git;h=$git_version
 if [ $2 = 'master' ]; then
+	#construct version with latest release+git0
 	version=`grep -A 1 '%changelog' ctdb/packaging/RPM/ctdb.spec.in | tail -n1 | sed 's/.* \([0-9\.]\+\)$/\1/'`+git0
 fi
 mv ctdb ctdb-$version.orig




More information about the Pkg-samba-maint mailing list