We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10a9e2a commit 546c40cCopy full SHA for 546c40c
.github/workflows/release.yml
@@ -278,6 +278,10 @@ jobs:
278
VERSION="${{ steps.version.outputs.next }}"
279
BRANCH="release/v${VERSION}"
280
281
+ # Delete branch if it already exists (from previous failed runs)
282
+ git push origin --delete "$BRANCH" 2>/dev/null || true
283
+ git branch -D "$BRANCH" 2>/dev/null || true
284
+
285
# Create and switch to release branch
286
git config user.name "github-actions[bot]"
287
git config user.email "github-actions[bot]@users.noreply.github.com"
0 commit comments