2022-08-12 15:55:47 +02:00
|
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
|
|
builds:
|
|
|
|
- ldflags:
|
|
|
|
- -w -s
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- 386
|
|
|
|
main: ./
|
2022-09-16 15:42:45 +00:00
|
|
|
id: "kairos-cli"
|
|
|
|
binary: "kairos-cli"
|
2022-08-12 15:55:47 +02:00
|
|
|
source:
|
|
|
|
enabled: true
|
2022-09-16 15:42:45 +00:00
|
|
|
name_template: 'kairos-cli-{{ .Tag }}-source'
|
2022-08-12 15:55:47 +02:00
|
|
|
archives:
|
|
|
|
# Default template uses underscores instead of -
|
2022-09-16 15:42:45 +00:00
|
|
|
- name_template: "kairos-cli-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
2022-08-12 15:55:47 +02:00
|
|
|
replacements:
|
|
|
|
darwin: Darwin
|
|
|
|
linux: Linux
|
|
|
|
windows: Windows
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
|
|
|
checksum:
|
2022-09-16 15:42:45 +00:00
|
|
|
name_template: 'kairos-cli-{{ .Tag }}-checksums.txt'
|
2022-08-12 15:55:47 +02:00
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-next"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|
|
|
|
- '^Merge pull request'
|