Skip to content

Commit 7ccf4bd

Browse files
committed
release branch fix
(cherry picked from commit c6e00c6)
1 parent 603eab7 commit 7ccf4bd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tools/build/build_asf.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
version='TESTBUILD'
2020
sourcedir=~/cloudstack/
2121
outputdir=/tmp/cloudstack-build/
22-
branch='master'
22+
branch='master' # DH(20140604): maybe change default to `git symbolic-ref --short HEAD`
2323
tag='no'
2424
certid='X'
2525
committosvn='X'
@@ -103,8 +103,9 @@ esac
103103
git clean -f
104104

105105
#create a RC branch
106-
RELEASE_BRANCH="RC" + `date +%Y%m%dT%H%M`
106+
RELEASE_BRANCH="RC"`date +%Y%m%dT%H%M`
107107
git branch $branch-$RELEASE_BRANCH
108+
git checkout $branch-$RELEASE_BRANCH
108109

109110

110111
echo 'commit changes'

0 commit comments

Comments
 (0)