Skip to content

Commit 27f3dc4

Browse files
Upgrade Goreleaser + fix deprecation on release.yml
1 parent c73f506 commit 27f3dc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

+1-1
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

+1-1
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)