Skip to content

Commit 6ed520a

Browse files
authored
Upgrade GoReleaser to V2 (#110)
* Upgrade to v2 of goreleaser * upgrade goreleaser action to v6.0.0
1 parent f66d1e2 commit 6ed520a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build-and-release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
go-version-file: '.go-version'
2222

2323
- name: Run GoReleaser
24-
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
24+
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
2525
with:
26+
distribution: goreleaser
2627
version: latest
2728
args: release --clean
2829
env:

.goreleaser.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) HashiCorp, Inc.
22
# SPDX-License-Identifier: MPL-2.0
3-
3+
version: 2
44
before:
55
hooks:
66
- go mod tidy
@@ -49,6 +49,6 @@ brews:
4949
homepage: 'https://github.com/hashicorp/copywrite'
5050
description: 'copywrite -- utilities for managing copyright headers and license files for GitHub repos'
5151
license: 'MPL-2.0'
52-
folder: Formula
52+
directory: Formula
5353
test: |
5454
system "#{bin}/copywrite --version"

0 commit comments

Comments
 (0)