diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d37f4a..d7bda31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ jobs: go-version: 1.17 - name: Run goreleaser uses: goreleaser/goreleaser-action@v2 + if: startsWith(github.ref, 'refs/tags/') with: version: latest args: release --rm-dist