version: 2 builds: - env: - CGO_ENABLED=0 goos: - linux - darwin - windows goarch: - amd64 - arm64 ldflags: - -s -w - -X main.version={{.Version}} - -X main.commit={{.Commit}} archives: - format: tar.gz name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" format_overrides: - goos: windows format: zip checksum: name_template: checksums.txt changelog: sort: asc filters: exclude: ["^docs", "^test", "^ci", "^chore", "^style"]