2021-10-21 00:25:02 +00:00
|
|
|
# This is an example goreleaser.yaml file with some sane defaults.
|
|
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
# You may remove this if you don't use go modules.
|
|
|
|
- go mod download
|
|
|
|
builds:
|
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
- GO_EXTLINK_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
|
|
|
|
archives:
|
2023-07-25 18:41:53 +00:00
|
|
|
- name_template: >-
|
|
|
|
{{ .ProjectName }}_
|
|
|
|
{{- .Version }}_
|
|
|
|
{{- if eq .Os "darwin" }}MacOS
|
|
|
|
{{- else if eq .Os "linux" }}Linux
|
|
|
|
{{- else if eq .Os "windows" }}Windows
|
|
|
|
{{- else }}{{ .Os }}{{ end }}_
|
|
|
|
{{- .Arch }}
|
2021-10-21 00:25:02 +00:00
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-next"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|