From a34f38a90c3aba2ce317e9367796469cea99505a Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 25 Jun 2024 10:47:58 -0400 Subject: [PATCH] Upgrade to goreleaser version 2. (#1236) --- .github/dependencies.txt | 2 +- .github/workflows/tag_release.yml | 2 +- .goreleaser.yml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/dependencies.txt b/.github/dependencies.txt index 3bb60ebf5..dec6e2f7b 100644 --- a/.github/dependencies.txt +++ b/.github/dependencies.txt @@ -1,4 +1,4 @@ -github.com/goreleaser/goreleaser@latest +github.com/goreleaser/goreleaser/v2@latest github.com/mgechev/revive@latest github.com/securego/gosec/v2/cmd/gosec@latest honnef.co/go/tools/cmd/staticcheck@2023.1.7 diff --git a/.github/workflows/tag_release.yml b/.github/workflows/tag_release.yml index 6fc320f38..2f6a84cf9 100644 --- a/.github/workflows/tag_release.yml +++ b/.github/workflows/tag_release.yml @@ -39,7 +39,7 @@ jobs: with: # goreleaser version (NOT goreleaser-action version) # update inline with the Makefile - version: latest + version: v2@latest args: release --clean env: AUR_KEY: '${{ github.workspace }}/aur_key' diff --git a/.goreleaser.yml b/.goreleaser.yml index d627ccd65..544360549 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,6 @@ # https://goreleaser.com/customization/project/ project_name: fastly +version: 2 # https://goreleaser.com/customization/release/ release: