mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-03 02:27:01 +00:00
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:
3
.github/workflows/beta-release.yml
vendored
3
.github/workflows/beta-release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user