From a06a9fab9237d4287c09790ad3d8c76dbcdf8a99 Mon Sep 17 00:00:00 2001 From: Haiyi Date: Tue, 6 Aug 2024 03:39:38 +0800 Subject: [PATCH] [Version] Bump version to v0.6.3 (#37) Co-authored-by: github-actions[bot] --- .circleci/continue_config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index e58e4534..5789cbc5 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -35,7 +35,14 @@ jobs: - run: name: Clone GitHub repository command: | - git clone << pipeline.project.git_url >> --branch << pipeline.git.branch >> . + TAG="<< pipeline.git.tag >>" + BRANCH="<< pipeline.git.branch >>" + # If the branch is empty, use the tag as the branch + if [ -z "\$BRANCH" ]; then + BRANCH=\$TAG + fi + echo "Cloning \$BRANCH branch" + git clone << pipeline.project.git_url >> --branch \$BRANCH . - run: name: "Build Plugins & Run Tests" shell: powershell.exe