Skip to content

Commit

Permalink
updating goreleaser config file to support latest version. (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayja authored Feb 17, 2025
1 parent e3fdb35 commit 746dcc1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ linters:

run:
issues-exit-code: 1
go: '1.22'
go: '1.23'
# skip-dirs:
# - sample
# skip-files:
Expand Down
13 changes: 7 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@ builds:
binary: akoctl

archives:
- format: tar.gz
- formats: [ 'tar.gz' ]
# this name template makes the OS and Arch compatible with the results of uname.
name_template: >-
akoctl_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
- goos: windows
formats: [ 'zip' ]
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
changelog:
skip: true
disable: true
release:
prerelease: true
prerelease: 'true'
version: 2

0 comments on commit 746dcc1

Please sign in to comment.