github.com/Benchkram/bob@v0.0.0-20220321080157-7c8f3876e225/.goreleaser.yml (about) 1 before: 2 hooks: 3 - go mod tidy 4 builds: 5 - env: 6 - CGO_ENABLED=0 7 - RELEASE_VERSION="{{ .Tag }}" 8 goos: 9 - linux 10 - darwin 11 ldflags: 12 - -s -w -X "main.Version={{ .Tag }}" 13 archives: 14 - format: binary 15 checksum: 16 name_template: 'checksums.txt' 17 snapshot: 18 name_template: "{{ incpatch .Tag }}-next" 19 changelog: 20 sort: asc 21 filters: 22 exclude: 23 - '^docs:' 24 - '^test:'