diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index 84b27cfd..5789cbc5 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -37,14 +37,12 @@ jobs: command: | TAG="<< pipeline.git.tag >>" BRANCH="<< pipeline.git.branch >>" - declare -p TAG - declare -p BRANCH # If the branch is empty, use the tag as the branch - if [ -z "$BRANCH" ] || [ "$BRANCH" = " " ]; then - BRANCH=$TAG + if [ -z "\$BRANCH" ]; then + BRANCH=\$TAG fi - echo "Cloning $BRANCH branch" - git clone << pipeline.project.git_url >> --branch $BRANCH . + echo "Cloning \$BRANCH branch" + git clone << pipeline.project.git_url >> --branch \$BRANCH . - run: name: "Build Plugins & Run Tests" shell: powershell.exe