diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index e6bdd12..58eaf5a 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -36,7 +36,7 @@ jobs: with: distribution: goreleaser version: "~> v2" - args: release --clean ${{ (startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/pull/') || startsWith(github.ref, 'refs/tags/SNAP/')) && '--snapshot' }} + args: release --clean ${{ (startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/pull/') || startsWith(github.ref, 'refs/tags/SNAP/')) && '--snapshot' || '' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}