From c7e8b13b1018ec264f81bea43e21d5dffd3d7e56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Thu, 25 Jul 2024 23:18:07 +0200 Subject: [PATCH] Prepare for goreleaser v2 --- .github/workflows/goreleaser.yml | 2 +- .goreleaser.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 7773ec26..f657797c 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -20,7 +20,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: - version: latest + version: "~> 2" args: release --clean env: GOPATH: /home/runner/work/ diff --git a/.goreleaser.yml b/.goreleaser.yml index 970469b8..01576300 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,6 @@ # This is an example goreleaser.yaml file with some sane defaults. # Make sure to check the documentation at http://goreleaser.com +version: 2 before: hooks: # You may remove this if you don't use go modules.