release branch fix

(cherry picked from commit c6e00c6825509bb56dcafea2947e89b7b9e396b3)
This commit is contained in:
Daan Hoogland 2014-06-04 15:03:36 +02:00
parent 603eab751a
commit 7ccf4bd169

View File

@ -19,7 +19,7 @@
version='TESTBUILD' version='TESTBUILD'
sourcedir=~/cloudstack/ sourcedir=~/cloudstack/
outputdir=/tmp/cloudstack-build/ outputdir=/tmp/cloudstack-build/
branch='master' branch='master' # DH(20140604): maybe change default to `git symbolic-ref --short HEAD`
tag='no' tag='no'
certid='X' certid='X'
committosvn='X' committosvn='X'
@ -103,8 +103,9 @@ esac
git clean -f git clean -f
#create a RC branch #create a RC branch
RELEASE_BRANCH="RC" + `date +%Y%m%dT%H%M` RELEASE_BRANCH="RC"`date +%Y%m%dT%H%M`
git branch $branch-$RELEASE_BRANCH git branch $branch-$RELEASE_BRANCH
git checkout $branch-$RELEASE_BRANCH
echo 'commit changes' echo 'commit changes'