github.com/xztaityozx/sel@v1.1.10/.goreleaser.yaml (about)

     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      # you may remove this if you don't need go generate
     8      - go generate ./...
     9  builds:
    10    - env:
    11        - CGO_ENABLED=0
    12      goos:
    13        - linux
    14        - windows
    15        - darwin
    16      ldflags:
    17        - -s -w -X github.com/xztaityozx/sel/cmd.Version={{ .Version }}
    18  archives:
    19    - id: archive
    20      name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_{{ .Version }}'
    21  checksum:
    22    name_template: 'checksums.txt'
    23  snapshot:
    24    name_template: "{{ incpatch .Version }}-next"
    25  changelog:
    26    use: github
    27    sort: asc
    28    filters:
    29      exclude:
    30        - '^docs:'
    31        - '^test:'
    32        - 'typo'