Skip to content

Commit ea6a7fb

Browse files
authored
Merge pull request #4587 from migueleliasweb/upgrade-goreleaser
🌱 Upgrade Goreleaser + fix deprecation on release.yml
2 parents c73f506 + 27f3dc4 commit ea6a7fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Run GoReleaser
3232
uses: goreleaser/goreleaser-action@v6
3333
with:
34-
version: v2.3.2
34+
version: v2.7.0
3535
args: release -f ./build/.goreleaser.yml
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build/.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ builds:
5151

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

0 commit comments

Comments
 (0)