diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 610af40..a2422e9 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -3,8 +3,6 @@ name: Release with GoReleaser on: pull_request: push: - branches: - - main tags: - "v*" @@ -61,7 +59,7 @@ jobs: with: distribution: goreleaser version: "v2.12.7" - args: release --clean ${{ github.ref_type == 'tag' && '' || '--snapshot' }} + args: release --clean ${{ github.ref_type != 'tag' && '--snapshot' || '' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}