From 5e78a247c915c0226c96c40e96e75fe1b6583ff9 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Sun, 30 Aug 2026 21:57:59 +0300 Subject: [PATCH] chore: files changed .github/workflows/release.yml Auto-committed-on: dragonfly Co-authored-by: Medulla --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68f2cb1..57d2b40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -129,7 +129,10 @@ jobs: git checkout -b "${release_branch}" git add Cargo.toml Cargo.lock git commit -m "Release ${RELEASE_TAG}" - git push origin "${release_branch}" + # A previous failed run can leave this throwaway branch behind, which + # would make the retry's push a non-fast-forward. The branch only ever + # holds the version bump for this exact tag, so overwriting it is safe. + git push --force origin "${release_branch}" echo "branch=${release_branch}" >> "$GITHUB_OUTPUT"