fix: handle existing release branch in beta-release workflow
Co-authored-by: louislam <1336778+louislam@users.noreply.github.com>
This commit is contained in:
parent
e468c3b17e
commit
54e52b1274
3
.github/workflows/beta-release.yml
vendored
3
.github/workflows/beta-release.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user