github.com/oNaiPs/go-generate-fast@v0.3.0/.goreleaser.yaml (about)

     1  before:
     2    hooks:
     3      - go mod tidy
     4  
     5  builds:
     6    - env:
     7        - CGO_ENABLED=0
     8      goos:
     9        - linux
    10        - windows
    11        - darwin
    12  
    13  archives:
    14    - format: tar.gz
    15      # this name template makes the OS and Arch compatible with the results of `uname`.
    16      name_template: >-
    17        {{ .ProjectName }}_
    18        {{- title .Os }}_
    19        {{- if eq .Arch "amd64" }}x86_64
    20        {{- else if eq .Arch "386" }}i386
    21        {{- else }}{{ .Arch }}{{ end }}
    22        {{- if .Arm }}v{{ .Arm }}{{ end }}
    23      # use zip for windows archives
    24      format_overrides:
    25        - goos: windows
    26          format: zip
    27  
    28  changelog:
    29    sort: asc
    30    filters:
    31      exclude:
    32        - "^docs:"
    33        - "^test:"