packaging: versions debian = git describe

This commit is contained in:
Thomas NOËL 2012-07-25 15:55:33 +02:00
parent 33efdbb203
commit 89f89f39f2
2 changed files with 8 additions and 2 deletions

View File

@ -28,7 +28,7 @@ install:
$(INSTALL) -d $(DESTDIR)/opt/polynum/static
deb:
dch --newversion=0.0.`date +%Y%m%d%H%M`.git`git log -1 --oneline | cut -f1 -d" "`-1
dch -r ""
dch --newversion=`git describe --long | tr - .`-1
dch -r
cd debian && pdebuild

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
polynum (0.1.11.g33efdbb-1) unstable; urgency=low
* Nouvel init et quelques corrections dans le postinst
-- Thomas NOEL <tnoel@entrouvert.com> Wed, 25 Jul 2012 15:47:11 +0200
polynum (0.0.201207201530.git4de2a06-1) unstable; urgency=low
* Premier paquet (version alpha du packaging)