Skip to content

Commit

Permalink
hotfix(goreleaser) upgrade gorelease setup for v2.x. Fixup of d2f1cf2.
Browse files Browse the repository at this point in the history
- Followed instruction at https://goreleaser.com/blog/goreleaser-v2/#upgrading
- Command `goreleaser check` is now successful

Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal committed Jun 11, 2024
1 parent ad464ce commit 1342d27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 5 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
version: 2

env:
- GO111MODULE=on
- CGO_ENABLED=0
Expand Down Expand Up @@ -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: [email protected]
folder: Formula
directory: Formula
description: "Determine a Jenkins Version"
homepage: https://github.com/jenkins-infra/jenkins-version
install: |
Expand Down

0 comments on commit 1342d27

Please sign in to comment.