diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b85e5e6c..70f3e46b 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 c28d6583..eebd768d 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"