Skip to content

Commit

Permalink
Merge pull request #4587 from migueleliasweb/upgrade-goreleaser
Browse files Browse the repository at this point in the history
🌱 Upgrade Goreleaser + fix deprecation on release.yml
  • Loading branch information
k8s-ci-robot authored Mar 1, 2025
2 parents c73f506 + 27f3dc4 commit ea6a7fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: v2.3.2
version: v2.7.0
args: release -f ./build/.goreleaser.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion build/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ builds:

# Only binaries of the form "kubebuilder_${goos}_${goarch}" will be released.
archives:
- format: binary
- formats: ['binary']
# Setting name_template correctly maps checksums to binary names.
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"

Expand Down

0 comments on commit ea6a7fb

Please sign in to comment.