cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/4.5 to 0a8e43b
Date Wed, 02 Dec 2015 18:41:50 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.5 d62335215 -> 0a8e43b50


debian: Partially pick change from #626 for getting version

- fix release version automatically updated using pom.xml
- allows building of 4.5 pkgs on Ubuntu

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0a8e43b5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0a8e43b5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0a8e43b5

Branch: refs/heads/4.5
Commit: 0a8e43b502db0aa6acca046fb7a5c72c51268573
Parents: d623352
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Thu Dec 3 00:10:30 2015 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Thu Dec 3 00:10:30 2015 +0530

----------------------------------------------------------------------
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0a8e43b5/debian/rules
----------------------------------------------------------------------
diff --git a/debian/rules b/debian/rules
index 45461bb..f66f0f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@
 # build-arch and build-indep targets  by Bill Allombert 2001
 
 DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
-VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*//')
+VERSION := $(shell cat pom.xml | sed '22!d' | cut -d'>' -f2 | cut -d'<' -f1)
 MVNADD := $(shell if echo '$(DEBVERS)' | grep -q snapshot; then echo ; fi )
 PACKAGE = $(shell dh_listpackages|head -n 1|cut -d '-' -f 1)
 SYSCONFDIR = "/etc"


Mime
View raw message