Skip to content

Commit 746dcc1

Browse files
authored
updating goreleaser config file to support latest version. (#22)
1 parent e3fdb35 commit 746dcc1

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ linters:
6363

6464
run:
6565
issues-exit-code: 1
66-
go: '1.22'
66+
go: '1.23'
6767
# skip-dirs:
6868
# - sample
6969
# skip-files:

.goreleaser.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,20 @@ builds:
1616
binary: akoctl
1717

1818
archives:
19-
- format: tar.gz
19+
- formats: [ 'tar.gz' ]
2020
# this name template makes the OS and Arch compatible with the results of uname.
2121
name_template: >-
2222
akoctl_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
2323
# use zip for windows archives
2424
format_overrides:
25-
- goos: windows
26-
format: zip
25+
- goos: windows
26+
formats: [ 'zip' ]
2727
checksum:
2828
name_template: 'checksums.txt'
2929
snapshot:
30-
name_template: "{{ incpatch .Version }}-next"
30+
version_template: "{{ incpatch .Version }}-next"
3131
changelog:
32-
skip: true
32+
disable: true
3333
release:
34-
prerelease: true
34+
prerelease: 'true'
35+
version: 2

0 commit comments

Comments
 (0)