diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index af186f7..818591c 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -21,8 +21,9 @@ jobs: go-version-file: '.go-version' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0 + uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: + distribution: goreleaser version: latest args: release --clean env: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 04ab154..d1b79aa 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,6 +1,6 @@ # Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 - +version: 2 before: hooks: - go mod tidy @@ -49,6 +49,6 @@ brews: homepage: 'https://github.com/hashicorp/copywrite' description: 'copywrite -- utilities for managing copyright headers and license files for GitHub repos' license: 'MPL-2.0' - folder: Formula + directory: Formula test: | system "#{bin}/copywrite --version"