github.com/vpayno/adventofcode-2022-golang-workspace@v0.0.0-20230605190011-dbafed5593de/.goreleaser.yaml (about) 1 # .goreleaser.yaml 2 --- 3 before: 4 hooks: 5 - go mod tidy 6 - go generate ./... 7 builds: 8 - id: day01 9 main: ./cmd/day01/ 10 binary: day01 11 env: 12 - CGO_ENABLED=0 13 goos: 14 - linux 15 goarch: 16 - amd64 17 goamd64: 18 - v1 19 ldflags: 20 - -s -w 21 archives: 22 - replacements: 23 linux: Linux 24 amd64: x86_64 25 checksum: 26 name_template: '.checksums.txt' 27 snapshot: 28 name_template: "{{ incpatch .Version }}-next" 29 changelog: 30 sort: asc 31 filters: 32 exclude: 33 - '^docs:' 34 - '^test:'