From: Alfredo Deza Date: Wed, 28 Sep 2016 21:42:05 +0000 (-0400) Subject: ceph-dev-setup: define SHA1 at the very beginning so it is available when posting... X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=52a2acd22e78c497295e10d7e52805347f8d13e5;p=ceph-build.git ceph-dev-setup: define SHA1 at the very beginning so it is available when posting status Signed-off-by: Alfredo Deza --- diff --git a/ceph-dev-setup/build/build b/ceph-dev-setup/build/build index 2931f453..59ce06ba 100644 --- a/ceph-dev-setup/build/build +++ b/ceph-dev-setup/build/build @@ -1,6 +1,7 @@ #!/bin/bash -ex BRANCH=`branch_slash_filter $BRANCH` +SHA1=${GIT_COMMIT} # split on '/' to get just 'wip-mybranch' when input is like: origin/wip-mybranch