From fb0db0a79eeeb46438c77d7a9ebb74d0d7a04480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Fri, 13 Sep 2024 04:21:51 +0200 Subject: [PATCH] fix: go releaser config (#11135) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- .github/workflows/release.yaml | 3 ++- .goreleaser.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e20a792e8d..babe8e68f0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -255,8 +255,9 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: + distribution: goreleaser version: latest - args: release --clean --timeout 90m --debug --release-notes=release/release-notes.out + args: release --clean --timeout 90m --release-notes=release/release-notes.out env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 90aa933d4f..f1bd70a63c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + project_name: kyverno-cli before: