From e2d0199621b94602ad6a759d102156d8d603847f Mon Sep 17 00:00:00 2001 From: Pierre-Luc Dion Date: Mon, 27 Jul 2015 21:16:30 -0400 Subject: [PATCH] fix release version automatically updated using pom.xml Signed-off-by: wilderrodrigues --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index b06f929a5a8..b88e245c25c 100755 --- a/debian/rules +++ b/debian/rules @@ -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"