From 1868753dddaa4f166c46fb2fc60d30ef3d54dfd6 Mon Sep 17 00:00:00 2001 From: Christophe Tafani-Dereeper Date: Mon, 16 Sep 2024 16:46:08 +0200 Subject: [PATCH] remove deprecated goreleaser version --- .github/workflows/release.yml | 4 ++-- .goreleaser.yaml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b85e5e6c7..70f3e46b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,10 +44,10 @@ jobs: go-version: 1.19 - name: Run GoReleaser timeout-minutes: 60 - uses: goreleaser/goreleaser-action@c21f56a7bc891b5f73bec61233c4102ef8273150 # v5.0.0 + uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: distribution: goreleaser - version: v1.22.1 + version: "~> v2" args: release --clean --config ../.goreleaser.yaml workdir: ./v2 env: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index c28d6583c..eebd768d2 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod tidy @@ -25,7 +26,7 @@ brews: owner: datadog name: stratus-red-team branch: main - folder: Formula + directory: Formula url_template: "https://github.com/DataDog/stratus-red-team/releases/download/{{ .Tag }}/{{ .ArtifactName }}" license: Apache-2.0 homepage: "https://stratus-red-team.cloud"