From ffc6796a7781f92dd5d8ba588b240a2439b66650 Mon Sep 17 00:00:00 2001 From: mkoester Date: Wed, 15 Nov 2017 16:09:36 +0100 Subject: [PATCH] Add checkout of release branch so that TeamCity workspace is correctly setup. --- prepare-release.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prepare-release.sh b/prepare-release.sh index e3045e1e3ea..6f8f9c9c2e9 100755 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -69,6 +69,7 @@ then fi fi +WORKDIR=`pwd` TMPDIR=`mktemp -d` echo "Copying to ${TMPDIR}" @@ -112,4 +113,6 @@ fi git push origin ${CURRENT_BRANCH} echo Build directory ${TMPDIR} +cd ${WORKDIR} +git checkout origin ${BRANCH_NAME}