fix release version automatically updated using pom.xml

Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
This commit is contained in:
Pierre-Luc Dion 2015-07-27 21:16:30 -04:00 committed by wilderrodrigues
parent 9e4a1a08ff
commit e2d0199621
1 changed files with 1 additions and 1 deletions

2
debian/rules vendored
View File

@ -1,6 +1,6 @@
#!/usr/bin/make -f
# -*- makefile -*-
VERSION := $(shell mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v "\[")
VERSION := $(shell cat pom.xml |sed '22!d'| cut -d'>' -f2 |cut -d'<' -f1)
PACKAGE = $(shell dh_listpackages|head -n 1|cut -d '-' -f 1)
SYSCONFDIR = "/etc"
DESTDIR = "debian/tmp"