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