well, that one didn't work out: systemvm64template-HEAD-2014-08-08-kvm.qcow2.bz2290.03 MB view systemvm64template-HEAD-2014-08-08-vmware.ova278.88 MB view systemvm64template-HEAD-2014-08-08-vmware.vmdk.bz2241.25 MB view systemvm64template-HEAD-2014-08-08-xen.vhd.bz2241.11 MB view s/HEAD/4.4/ was what I hoped for
better go back to the good old ugly unix way On Fri, Aug 8, 2014 at 3:41 PM, Rohit Yadav <rohityada...@gmail.com> wrote: > On Fri, Aug 8, 2014 at 3:23 PM, <d...@apache.org> wrote: > >> Repository: cloudstack >> Updated Branches: >> refs/heads/4.4 e77da80e0 -> 00265fba3 >> >> >> did git change it output format since this script was made? >> > > That's just ugly, to get branch why not do: > > git rev-parse --abbrev-ref HEAD > > I'll fix it on both master and 4.4. > > Cheers. > > >> >> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo >> Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/00265fba >> Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/00265fba >> Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/00265fba >> >> Branch: refs/heads/4.4 >> Commit: 00265fba342efd54823c38f7a6abf7304b4c3a03 >> Parents: e77da80 >> Author: Daan Hoogland <d...@onecht.net> >> Authored: Fri Aug 8 15:22:30 2014 +0200 >> Committer: Daan Hoogland <d...@onecht.net> >> Committed: Fri Aug 8 15:22:30 2014 +0200 >> >> ---------------------------------------------------------------------- >> tools/appliance/build.sh | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> ---------------------------------------------------------------------- >> >> >> >> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/00265fba/tools/appliance/build.sh >> ---------------------------------------------------------------------- >> diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh >> index db5dcb0..13c9ca7 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 $4}'` >> + branch=`git status | grep 'On branch' | awk '{print $3}'` >> fi >> >> if [ -z "$branch" ] ; then >> >> -- Daan