fix: handle existing release branch in beta-release workflow (#6696)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
This commit is contained in:
Copilot
2026-01-13 14:03:09 +08:00
committed by GitHub
parent 17b6feb207
commit 4c2a3b9d63
2 changed files with 4 additions and 1 deletions

View File

@@ -42,7 +42,10 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
# Delete local release branch if it exists
git branch -D release || true
git checkout -b release
git push origin release --force
- name: Install dependencies
run: npm clean-install --no-fund