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.4 to 493c0a6
Date Fri, 08 Aug 2014 13:43:30 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4 d29df43c7 -> 493c0a68d


appliance: change the way we find git branch in build.sh

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/493c0a68
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/493c0a68
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/493c0a68

Branch: refs/heads/4.4
Commit: 493c0a68d2332cb9275902128c28f926a909f4ed
Parents: d29df43
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Fri Aug 8 15:42:53 2014 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Fri Aug 8 15:42:53 2014 +0200

----------------------------------------------------------------------
 tools/appliance/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/493c0a68/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index d30f7cd..0d5933f 100755
--- a/tools/appliance/build.sh
+++ b/tools/appliance/build.sh
@@ -31,7 +31,7 @@ build_date=`date +%Y-%m-%d`
 branch=
 
 if [ -z "$branch" ] ; then
-  branch=`git status | grep 'On branch' | awk '{print $3}'`
+  branch=$(git rev-parse --abbrev-ref HEAD)
 fi
 
 if [ -z "$branch" ] ; then


Mime
View raw message