mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6392: system template always create with name master instead of specific branch
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
parent
9cd6c4f2ae
commit
5f11c2e0be
|
|
@ -28,7 +28,7 @@ fi
|
|||
build_date=`date +%Y-%m-%d`
|
||||
|
||||
# set fixed or leave empty to use git to determine
|
||||
branch=master
|
||||
branch=
|
||||
|
||||
if [ -z "$branch" ] ; then
|
||||
branch=`git status | grep '# On branch' | awk '{print $4}'`
|
||||
|
|
|
|||
Loading…
Reference in New Issue