From 2aba842302a74b85408376b7bb4006b1e1be336d Mon Sep 17 00:00:00 2001 From: Fred Carle Date: Fri, 28 Jun 2024 13:08:23 -0400 Subject: [PATCH] ci(i): Update go releaser (#2798) ## Relevant issue(s) Resolves #2797 ## Description This PR updates the Go Releaser to version 2. (*replace*) Describe the tests performed to verify the changes. Provide instructions to reproduce them. locally and in through the release action on a fork. Specify the platform(s) on which this was tested: - MacOS --- .github/workflows/release.yml | 4 ++-- .goreleaser.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3351bfc242..2eee0900a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,7 @@ jobs: run: echo "sha_short=$(git rev-parse --short HEAD)" >> ${GITHUB_ENV} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser-pro version: latest @@ -169,7 +169,7 @@ jobs: run: exit 1 - name: Do the release, only if all OS caches were restored - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser-pro version: latest diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 05f201200f..4abe0b198a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,4 +1,4 @@ -version: 1 +version: 2 before: hooks: