From 54e52b1274f5a2e6eb0d2093ac73641ac1e6477e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Jan 2026 05:42:04 +0000 Subject: [PATCH] fix: handle existing release branch in beta-release workflow Co-authored-by: louislam <1336778+louislam@users.noreply.github.com> --- .github/workflows/beta-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml index 4d43f2966..5ec7fd02f 100644 --- a/.github/workflows/beta-release.yml +++ b/.github/workflows/beta-release.yml @@ -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