Skip to content

Commit 231491e

Browse files
committed
fix release workflow dispatch condition
1 parent eca28a2 commit 231491e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ jobs:
235235
name: Update Homebrew Formula
236236
needs: release
237237
runs-on: ubuntu-latest
238-
if: ${{ github.event_name == 'push' && !contains(env.RELEASE_TAG, 'alpha') && !contains(env.RELEASE_TAG, 'beta') && !contains(env.RELEASE_TAG, 'rc') }}
238+
if: ${{ github.event_name == 'push' && !contains(github.event.inputs.tag || github.ref_name, 'alpha') && !contains(github.event.inputs.tag || github.ref_name, 'beta') && !contains(github.event.inputs.tag || github.ref_name, 'rc') }}
239239
steps:
240240
- name: Update Homebrew formula
241241
uses: mislav/bump-homebrew-formula-action@v3

0 commit comments

Comments
 (0)