From 9325fecfb0af81429548b145d0de54f6f4ca9859 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Mon, 17 Jun 2024 11:55:08 -0400 Subject: [PATCH 1/2] fix goreleaser for v2 Signed-off-by: Jason Hall --- .goreleaser.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 94eae1fd..d34c2227 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: @@ -53,6 +54,3 @@ release: extra_files: - glob: 'terraform-registry-manifest.json' name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json' - -changelog: - skip: true From 2968aac1c1ce063928b1bf517192cf31a4986e63 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Mon, 17 Jun 2024 12:02:50 -0400 Subject: [PATCH 2/2] use goreleaser-action 6.0.0 Signed-off-by: Jason Hall --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 833ab077..1b80826d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: with: go-version: '1.22' check-latest: true - - uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0 + - uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: version: latest args: release --clean --snapshot --skip=sign diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe0eda58..9c0b6985 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: with: gpg_private_key: ${{ steps.secrets.outputs.token }} - - uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0 + - uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: version: latest args: release --clean