# 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: - 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 }} checksum: name_template: 'checksums.txt' snapshot: name_template: "{{ .Tag }}-next" changelog: sort: asc filters: exclude: - '^docs:' - '^test:'