From dcc1b6be99a4080fd604162d37574ccfb9137c3f Mon Sep 17 00:00:00 2001 From: Kazuma Watanabe Date: Mon, 4 Nov 2024 17:38:14 +0900 Subject: [PATCH] Bump GoReleaser to v2 (#218) --- .github/workflows/release.yml | 4 ++-- .goreleaser.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c653c0..2845fd6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,8 +27,8 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: - version: v1.12.3 - args: release --rm-dist + version: v2.3.2 + args: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/attest-build-provenance@v1 diff --git a/.goreleaser.yml b/.goreleaser.yml index feffa50..82aed3e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,6 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com +version: 2 env: - CGO_ENABLED=0 builds: @@ -23,7 +24,7 @@ archives: files: - none* changelog: - skip: true + disable: true checksum: name_template: 'checksums.txt' extra_files: @@ -46,4 +47,4 @@ release: name: tflint-ruleset-terraform draft: true snapshot: - name_template: "{{ .Tag }}-dev" + version_template: "{{ .Tag }}-dev"