From ac39841bbb4c3ef6023feb123aae37f995e0efc2 Mon Sep 17 00:00:00 2001 From: Tugdual Saunier Date: Thu, 3 Nov 2022 16:22:34 -0400 Subject: [PATCH] ci: always run `gorelease build` except for tags --- .github/workflows/releaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index ab2c0c1e..400b62f2 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -61,7 +61,7 @@ jobs: name: Run GoReleaser for snapshot uses: goreleaser/goreleaser-action@v2 # only for PRs and push on branches - if: startsWith(github.ref, 'refs/heads/') + if: ${{ !startsWith(github.ref, 'refs/tags/v') }} with: version: latest args: build --rm-dist --snapshot