From 98a5c226ae6cb80cf2a5160136a0737a23e0f56c Mon Sep 17 00:00:00 2001 From: XinRan Zhang Date: Tue, 9 Apr 2024 17:23:44 +0000 Subject: [PATCH] Minor fix --- .github/workflows/pre_release_prepare.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre_release_prepare.yml b/.github/workflows/pre_release_prepare.yml index 71cb190..f80dc46 100644 --- a/.github/workflows/pre_release_prepare.yml +++ b/.github/workflows/pre_release_prepare.yml @@ -33,7 +33,7 @@ jobs: - name: Create branches run: | - if git ls-remote --heads origin release/${MAJOR_MINOR}.x | grep -q "release/${MAJOR_MINOR}.x; then + if git ls-remote --heads origin release/${MAJOR_MINOR}.x | grep -q "release/${MAJOR_MINOR}.x"; then git fetch origin release/${MAJOR_MINOR}.x echo "Branch release/${MAJOR_MINOR}.x already exists, checking out." git checkout "release/${MAJOR_MINOR}.x"