File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,8 @@ jobs:
126126 name : Build Targets
127127 needs : [semantic-version, update-version]
128128 runs-on : ${{ matrix.os }}
129+ # Don't run builds for version bump branches
130+ if : " !startsWith(github.ref_name, 'chore/version-bump-')"
129131 strategy :
130132 matrix :
131133 include :
@@ -184,6 +186,8 @@ jobs:
184186 name : Universal macOS
185187 runs-on : macos-latest
186188 needs : [semantic-version, update-version, build-matrix, create-release]
189+ # Don't run builds for version bump branches
190+ if : " !startsWith(github.ref_name, 'chore/version-bump-')"
187191 steps :
188192 - uses : actions/checkout@v5
189193 with :
@@ -315,6 +319,9 @@ jobs:
315319 # Delete remote branch if it exists
316320 git push origin --delete "$BRANCH" 2>/dev/null || true
317321
322+ # Delete local branch if it exists
323+ git branch -D "$BRANCH" 2>/dev/null || true
324+
318325 git checkout -b "$BRANCH"
319326 git add Cargo.toml
320327 git commit -m "chore: bump version to ${{ env.NEXT_VERSION }}"
You can’t perform that action at this time.
0 commit comments