From 97b8523a1f0a1b536154fb647ed15b94a15e722e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20J=C3=B8rgensen?= Date: Tue, 2 Jul 2024 22:10:49 +0200 Subject: [PATCH] Use goreleaser v2 --- .github/workflows/goreleaser.yml | 2 +- .goreleaser.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 202e567..8e656ad 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -50,7 +50,7 @@ jobs: name: Run GoReleaser uses: goreleaser/goreleaser-action@v6.0.0 with: - version: latest + version: "~> v2" args: release env: GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 73f73b5..da4a4fc 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + before: hooks: - go mod tidy @@ -28,10 +30,10 @@ changelog: - '^test:' brews: - - tap: + - repository: owner: arnested name: homebrew-ssh2iterm2 - folder: Formula + directory: Formula homepage: "https://github.com/arnested/ssh2iterm2" description: "Create iTerm2 dynamic profile from SSH config" install: |