Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Fix goreleaser conditions with correct branch name
  • Loading branch information
alexhung committed Nov 27, 2023
1 parent f50d273 commit d5a919b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
if: |
(startsWith(github.ref, 'refs/tags/') && github.event.base_ref == 'refs/heads/master')
|| (startsWith(github.ref, 'refs/tags/') && github.event.base_ref == 'refs/heads/v6')
(startsWith(github.ref, 'refs/tags/') && github.event.base_ref == 'refs/heads/main')
steps:
-
name: Checkout
Expand Down

0 comments on commit d5a919b

Please sign in to comment.