Skip to content

Commit

Permalink
Upgrade GoReleaser to V2 (#110)
Browse files Browse the repository at this point in the history
* Upgrade to v2 of goreleaser

* upgrade goreleaser action to v6.0.0
  • Loading branch information
dlaguerta committed Jun 24, 2024
1 parent f66d1e2 commit 6ed520a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

version: 2
before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -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"

0 comments on commit 6ed520a

Please sign in to comment.