mirror of https://github.com/apache/cloudstack.git
Use version for RC branch name instead of branch
4.6.1-RC20151130T2142 versus 4.6-RC20151130T2142
This commit is contained in:
parent
df3ce171e8
commit
7d7420fd1e
|
|
@ -127,12 +127,8 @@ mv $tmpfilenm debian/changelog
|
|||
git clean -f
|
||||
|
||||
#create a RC branch
|
||||
RELEASE_BRANCH="RC"`date +%Y%m%dT%H%M`
|
||||
if [ "$branch" = "master" ]; then
|
||||
BRANCHNAME=$version-$RELEASE_BRANCH
|
||||
else
|
||||
BRANCHNAME=$branch-$RELEASE_BRANCH
|
||||
fi
|
||||
RC_BRANCH_SUFFIX="RC"`date +%Y%m%dT%H%M`
|
||||
BRANCHNAME=$version-$RC_BRANCH_SUFFIX
|
||||
git branch $BRANCHNAME
|
||||
git checkout $BRANCHNAME
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue