github.com/msoap/go-carpet@v1.10.1-0.20240316220419-b690da179708/.goreleaser.yml (about) 1 release: 2 name_template: "{{ .Version }} - {{ .Date }}" 3 draft: true 4 header: | 5 [![Github Releases ({{ .Tag }})](https://img.shields.io/github/downloads/msoap/go-carpet/{{ .Tag }}/total.svg)](https://github.com/msoap/go-carpet/releases/latest) [![Github All Releases](https://img.shields.io/github/downloads/msoap/go-carpet/total.svg)](https://github.com/msoap/go-carpet/releases) 6 7 builds: 8 - env: 9 - CGO_ENABLED=0 10 goos: 11 - linux 12 - darwin 13 - windows 14 goarch: 15 - 386 16 - amd64 17 - arm 18 - arm64 19 ignore: 20 - goos: windows 21 goarch: arm 22 flags: 23 - -trimpath 24 ldflags: 25 - -s -w -X main.version={{ .Version }} 26 27 nfpms: 28 - 29 homepage: https://github.com/msoap/{{ .ProjectName }} 30 description: Show test coverage for Go source files. 31 license: MIT 32 formats: 33 - deb 34 - rpm 35 bindir: /usr/bin 36 contents: 37 - src: go-carpet.1 38 dst: /usr/share/man/man1/go-carpet.1 39 - src: LICENSE 40 dst: /usr/share/doc/go-carpet/copyright 41 - src: README.md 42 dst: /usr/share/doc/go-carpet/README.md 43 44 archives: 45 - 46 format_overrides: 47 - goos: windows 48 format: zip 49 files: 50 - README* 51 - LICENSE* 52 - "*.1" 53 54 checksum: 55 name_template: 'checksums.txt' 56 57 snapshot: 58 name_template: "{{ .Tag }}" 59 60 changelog: 61 sort: desc 62 filters: 63 exclude: 64 - '^docs:' 65 - '^test:' 66 - '^Merge branch' 67 - '^go fmt'