Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

fix: handle re-releases in Homebrew formula step

Tanner Kocherdf132b9bbad2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c33f80f7..8d2bffbf 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -222,5 +222,5 @@ jobs:
git checkout -b "$BRANCH"
git add homebrew/ix.rb
git commit -m "brew: update formula for v${VERSION}" || exit 0
- git push origin "$BRANCH"
- gh pr create --title "brew: update formula for v${VERSION}" --body "Auto-generated: updates Homebrew formula SHA for v${VERSION}" --base main
+ git push --force-with-lease origin "$BRANCH"
+ gh pr create --title "brew: update formula for v${VERSION}" --body "Auto-generated: updates Homebrew formula SHA for v${VERSION}" --base main || true