From 44c525bdd279de7776a31f801d56562819556290 Mon Sep 17 00:00:00 2001 From: Cyrill Troxler Date: Wed, 10 Jul 2024 16:19:57 +0200 Subject: [PATCH] chore: update goreleaser config for compatibility with goreleaser 2 --- .goreleaser.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a8a0c1e..5dc75d5 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,5 @@ +version: 2 + before: hooks: - go mod tidy @@ -42,18 +44,18 @@ brews: # Default is v1. goamd64: v1 - tap: + repository: owner: ninech name: homebrew-taps branch: main token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" url_template: "https://github.com/ninech/nctl/releases/download/{{ .Tag }}/{{ .ArtifactName }}" - + commit_author: name: nine.ch Bot email: ninech-bot@users.noreply.github.com - + commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" homepage: "https://github.com/ninech/nctl" description: "Interact with Nine API resources."