summaryrefslogtreecommitdiff
path: root/build_tools
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/make_svn_branch_name14
1 files changed, 14 insertions, 0 deletions
diff --git a/build_tools/make_svn_branch_name b/build_tools/make_svn_branch_name
index 1fe7507..525d282 100755
--- a/build_tools/make_svn_branch_name
+++ b/build_tools/make_svn_branch_name
@@ -1,6 +1,7 @@
#!/bin/sh
PARTS=`LANG=C svn info | grep URL | awk '{print $2;}' | sed -e s:^.*/svn/zaptel/:: | sed -e 's:/: :g'`
+BETA=0
BRANCH=0
TEAM=0
@@ -14,6 +15,12 @@ fi
for PART in $PARTS
do
+ if [ ${BETA} != 0 ]
+ then
+ RESULT="${RESULT}-${PART}"
+ break
+ fi
+
if [ ${BRANCH} != 0 ]
then
RESULT="${RESULT}-${PART}"
@@ -26,6 +33,13 @@ do
continue
fi
+ if [ "${PART}" = "betas" ]
+ then
+ BETA=1
+ RESULT="beta"
+ continue
+ fi
+
if [ "${PART}" = "branches" ]
then
BRANCH=1