fix release version automatically updated using pom.xml Signed-off-by: wilderrodrigues <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e2d01996 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e2d01996 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e2d01996 Branch: refs/heads/master Commit: e2d0199621b94602ad6a759d102156d8d603847f Parents: 9e4a1a0 Author: Pierre-Luc Dion <[email protected]> Authored: Mon Jul 27 21:16:30 2015 -0400 Committer: wilderrodrigues <[email protected]> Committed: Tue Jul 28 14:18:41 2015 +0200 ---------------------------------------------------------------------- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e2d01996/debian/rules ---------------------------------------------------------------------- diff --git a/debian/rules b/debian/rules index b06f929..b88e245 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"
