github.com/goreleaser/goreleaser@v1.25.1/cmd/testdata/good.yml (about)

     1  # This is an example .goreleaser.yaml file with some sensible defaults.
     2  # Make sure to check the documentation at http://goreleaser.com
     3  before:
     4    hooks:
     5      # You may remove this if you don't use go modules.
     6      - go mod tidy
     7      # you may remove this if you don't need go generate
     8      - go generate ./...
     9  builds:
    10  - env:
    11    - CGO_ENABLED=0
    12  checksum:
    13    name_template: 'checksums.txt'
    14  snapshot:
    15    name_template: "{{ incpatch .Version }}-next"
    16  changelog:
    17    sort: asc
    18    filters:
    19      exclude:
    20      - '^docs:'
    21      - '^test:'