From 1342d2771b99c6de6afee408d4b1916c1555cab3 Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Tue, 11 Jun 2024 07:50:09 +0200 Subject: [PATCH] hotfix(goreleaser) upgrade gorelease setup for v2.x. Fixup of d2f1cf2. - Followed instruction at https://goreleaser.com/blog/goreleaser-v2/#upgrading - Command `goreleaser check` is now successful Signed-off-by: Damien Duportal --- .github/workflows/release.yaml | 2 +- .goreleaser.yml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 904cb31..e75a0fd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -60,7 +60,7 @@ jobs: uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} - name: Set up QEMU diff --git a/.goreleaser.yml b/.goreleaser.yml index 92667c7..8db6442 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,6 @@ --- +version: 2 + env: - GO111MODULE=on - CGO_ENABLED=0 @@ -52,23 +54,22 @@ checksum: algorithm: sha256 changelog: - skip: false + disable: false release: draft: false - prerelease: false name_template: "{{.Tag}}" brews: - name: jv - tap: + repository: owner: jenkins-infra name: homebrew-tap token: "{{ .Env.GITHUB_TOKEN }}" commit_author: name: jenkins-infra email: gareth@bryncynfelin.co.uk - folder: Formula + directory: Formula description: "Determine a Jenkins Version" homepage: https://github.com/jenkins-infra/jenkins-version install: |