From 3f1da0eda78c5c217393a2399e4cdd23363752b1 Mon Sep 17 00:00:00 2001 From: pawelsz-rb <76971683+pawelsz-rb@users.noreply.github.com> Date: Thu, 11 Jul 2024 09:54:09 -0700 Subject: [PATCH 1/2] Update release.yml --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aff37908..794a86e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,6 +51,7 @@ jobs: - name: Install GoReleaser uses: goreleaser/goreleaser-action@v4 with: + version: 'v1.26.2' install-only: true - name: Install dependencies From 4e5d4fbe32b88fd87b487a2a8a9588e4679974f1 Mon Sep 17 00:00:00 2001 From: pawelsz-rb <76971683+pawelsz-rb@users.noreply.github.com> Date: Thu, 11 Jul 2024 09:56:49 -0700 Subject: [PATCH 2/2] Update .releaserc.json --- .releaserc.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.releaserc.json b/.releaserc.json index eabd5525..7228bf91 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -6,8 +6,8 @@ "@semantic-release/git", ["@semantic-release/exec", { - "prepareCmd": "goreleaser build --snapshot; rm -rv dist", - "publishCmd": "goreleaser release" + "prepareCmd": "goreleaser build --rm-dist --snapshot; rm -rv dist", + "publishCmd": "goreleaser release --rm-dist" } ] ],