This commit is contained in:
Mel O'Hagan 2022-10-04 14:50:21 +01:00
parent 9e3c5c1a5e
commit 95ff0d9665
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ git clone https://$PERSONAL_ACCESS_TOKEN@github.com/Budibase/budibase-pro.git
if [[ -d "budibase-pro" ]]; then if [[ -d "budibase-pro" ]]; then
cd budibase-pro cd budibase-pro
if [[ -z "${BRANCH}" ]]; then
export BRANCH=$GITHUB_REF_NAME
fi
# Try to checkout the matching pro branch # Try to checkout the matching pro branch
git checkout $BRANCH git checkout $BRANCH