From c6721e890dd7e57a9a5baf21b7004e341636cdfe Mon Sep 17 00:00:00 2001 From: George Angel Date: Thu, 9 Jan 2025 15:29:27 +1000 Subject: [PATCH] Specify Goreleaser version --- .github/workflows/goreleaser.yaml | 2 +- .goreleaser.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index be3ab9c..fd9d069 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -28,7 +28,7 @@ jobs: with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser - version: latest + version: "~> v2" args: release --clean env: GITHUB_TOKEN: ${{ secrets.GH_PAT }} diff --git a/.goreleaser.yml b/.goreleaser.yml index ce71651..15b98bd 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,5 @@ # Build customization +version: 2 builds: - id: main goos: @@ -30,7 +31,7 @@ brews: description: Wireguard peer manager homepage: https://github.com/utilitywarehouse/wiresteward license: MIT - folder: Formula - tap: + directory: Formula + repository: owner: utilitywarehouse name: homebrew-tap