From d834d178efdda758a6ccf850b617b91e289da101 Mon Sep 17 00:00:00 2001 From: Alexis Couvreur Date: Sun, 23 Nov 2025 11:04:18 -0500 Subject: [PATCH] fix(goreleaser): reverse --snapshot ternary expression --- .github/workflows/goreleaser.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 }}