From ca50fe027e8a24c3db6da6a818a97a2308883175 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Mon, 19 Mar 2012 13:11:06 -0400 Subject: [PATCH] Remove origin/ and replace '/' in branch names in tar file --- ci/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/build.sh b/ci/build.sh index b6813fed22..0ae457b067 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -9,6 +9,8 @@ if [ -z "${GIT_BRANCH}" ]; then GIT_BRANCH=${GIT_BRANCH##refs/heads/} GIT_BRANCH=${GIT_BRANCH:-HEAD} fi +GIT_BRANCH=${GIT_BRANCH##origin/} +GIT_BRANCH=${GIT_BRANCH//\//_} if [ -z "${BUILD_NUMBER}" ]; then BUILD_NUMBER=dev