fix: handle existing release branch in beta-release workflow

Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-13 05:42:04 +00:00
parent e468c3b17e
commit 54e52b1274

View File

@ -42,6 +42,9 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
# Delete release branch if it exists
git branch -D release 2>/dev/null || true
git push origin --delete release 2>/dev/null || true
git checkout -b release
- name: Install dependencies