[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. eda668423fa87898c59d1075118693714aa5a053

Andreas Beckmann debian at abeckmann.de
Fri Dec 23 10:27:44 UTC 2011


The following commit has been merged in the master branch:
commit a0ea99f37b74d99bad9c30f2153fab0cb55041fa
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Tue Nov 29 10:37:24 2011 +0100

    use git describe to stamp the development version
    
    use 'git describe --tags --dirty' for a better development
    version stamp
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/Makefile b/Makefile
index ce6ac2b..c190762 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ site27 = $(libdir)/python2.7/dist-packages
 etcdir = $(prefix)/etc
 distribution=${shell dpkg-parsechangelog | sed -n 's/^Distribution: *//p'}
 ifeq ($(distribution),UNRELEASED)
-version=${shell echo "`dpkg-parsechangelog | sed -n 's/^Version: *//p'`~`date +%Y%m%d%H%M`"}
+version=${shell echo "`dpkg-parsechangelog | sed -n 's/^Version: *//p'`~`date +%Y%m%d%H%M`~`git describe --tags --dirty`"}
 else
 version=${shell dpkg-parsechangelog | sed -n 's/^Version: *//p'}
 endif

-- 
piuparts git repository



More information about the Piuparts-commits mailing list