From f18033e752ccfdc062c59bfdf72083a6f2af99da Mon Sep 17 00:00:00 2001 From: heimanba <371510756@qq.com> Date: Mon, 20 Jul 2026 17:56:52 +0800 Subject: [PATCH] fix: create beta release branches with valid git syntax Change-Id: I6c3f97bcd9a143b314c3205675ee12f671b8254e --- .github/workflows/prepare-beta.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prepare-beta.yml b/.github/workflows/prepare-beta.yml index d491518..4c70372 100644 --- a/.github/workflows/prepare-beta.yml +++ b/.github/workflows/prepare-beta.yml @@ -46,10 +46,10 @@ jobs: git fetch origin main if git ls-remote --exit-code --heads origin "${branch}" >/dev/null 2>&1; then git fetch origin "${branch}" - git checkout --branch "${branch}" --track "origin/${branch}" + git checkout -b "${branch}" --track "origin/${branch}" git merge --no-edit origin/main else - git checkout --branch "${branch}" origin/main + git checkout -b "${branch}" origin/main bunx changeset pre enter beta fi