From fb6703027f24fb7d04d10bbedf13ba601a832fd0 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Tue, 1 Feb 2022 15:15:36 +0100 Subject: [PATCH] master branch condition --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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