diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 36a8101..6fd7f90 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,7 +51,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 - if: success() && startsWith(github.ref, 'refs/tags/') + if: success() && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master') with: version: latest args: release --rm-dist