You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by re...@apache.org on 2015/11/30 22:43:05 UTC

[08/10] git commit: updated refs/heads/master to 4ecfc29

Use version for RC branch name instead of branch

4.6.1-RC20151130T2142 versus 4.6-RC20151130T2142


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7d7420fd
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7d7420fd
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7d7420fd

Branch: refs/heads/master
Commit: 7d7420fd1e5908e1bc4ee04a314241212f7a6481
Parents: df3ce17
Author: Remi Bergsma <gi...@remi.nl>
Authored: Mon Nov 30 22:01:11 2015 +0100
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Mon Nov 30 22:21:04 2015 +0100

----------------------------------------------------------------------
 tools/build/build_asf.sh | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7d7420fd/tools/build/build_asf.sh
----------------------------------------------------------------------
diff --git a/tools/build/build_asf.sh b/tools/build/build_asf.sh
index 3847c25..9378b85 100755
--- a/tools/build/build_asf.sh
+++ b/tools/build/build_asf.sh
@@ -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