template / ci-testing / files / .goreleaser.yaml
Branch ci-testing · default branch · all branches
.goreleaser.yaml
| 1 | # This is an example .goreleaser.yml file with some sensible defaults. |
| 2 | # Make sure to check the documentation at https://goreleaser.com |
| 3 | before: |
| 4 | hooks: |
| 5 | # You may remove this if you don't use go modules. |
| 6 | - go mod tidy |
| 7 | builds: |
| 8 | - env: |
| 9 | - CGO_ENABLED=0 |
| 10 | goos: |
| 11 | - linux |
| 12 | - windows |
| 13 | - darwin |
| 14 | archives: |
| 15 | - replacements: |
| 16 | darwin: Darwin |
| 17 | linux: Linux |
| 18 | windows: Windows |
| 19 | 386: i386 |
| 20 | amd64: x86_64 |
| 21 | checksum: |
| 22 | name_template: 'checksums.txt' |
| 23 | snapshot: |
| 24 | name_template: "{{ incpatch .Version }}-next" |
| 25 | changelog: |
| 26 | sort: asc |
| 27 | filters: |
| 28 | exclude: |
| 29 | - '^docs:' |
| 30 | - '^test:' |
| 31 |