Skip to content

Commit 7d7420f

Browse files
committed
Use version for RC branch name instead of branch
4.6.1-RC20151130T2142 versus 4.6-RC20151130T2142
1 parent df3ce17 commit 7d7420f

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tools/build/build_asf.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,8 @@ mv $tmpfilenm debian/changelog
127127
git clean -f
128128

129129
#create a RC branch
130-
RELEASE_BRANCH="RC"`date +%Y%m%dT%H%M`
131-
if [ "$branch" = "master" ]; then
132-
BRANCHNAME=$version-$RELEASE_BRANCH
133-
else
134-
BRANCHNAME=$branch-$RELEASE_BRANCH
135-
fi
130+
RC_BRANCH_SUFFIX="RC"`date +%Y%m%dT%H%M`
131+
BRANCHNAME=$version-$RC_BRANCH_SUFFIX
136132
git branch $BRANCHNAME
137133
git checkout $BRANCHNAME
138134

0 commit comments

Comments
 (0)