github.com/greenpau/go-authcrunch@v1.1.4/.goreleaser.yaml (about)

     1  project_name: go-authcrunch
     2  
     3  release:
     4    github:
     5      owner: greenpau
     6      name: go-authcrunch
     7    draft: false
     8    prerelease: auto
     9  
    10  checksum:
    11    name_template: "{{.ProjectName}}_{{.Version}}_SHA256SUMS"
    12  
    13  builds:
    14    - env:
    15        - CGO_ENABLED=0
    16        - GO111MODULE=on
    17      goos:
    18        - linux
    19        - windows
    20        - darwin
    21      goarch:
    22        - amd64
    23        - arm64
    24      main: ./cmd/authdbctl
    25      binary: ./bin/authdbctl
    26      flags:
    27        - -trimpath
    28        - -mod=readonly
    29      asmflags:
    30        - all=-trimpath={{.Env.GOPATH}}
    31      gcflags:
    32        - all=-trimpath={{.Env.GOPATH}}
    33      ldflags: -s -w
    34  
    35  
    36  nfpms:
    37    - id: authp
    38      maintainer: "Paul Greenberg <greenpau@outlook.com>"
    39      file_name_template: >-
    40        {{ .ProjectName }}_
    41        {{- title .Os }}_
    42        {{- if eq .Arch "amd64" }}x86_64
    43        {{- else if eq .Arch "386" }}i386
    44        {{- else }}{{ .Arch }}{{ end }}
    45  
    46  changelog:
    47    sort: asc
    48    filters:
    49      exclude:
    50      - '^docs?:'
    51      - '^readme:'
    52      - '^tests?:'
    53      - '^github:'
    54      - '^ops:'
    55      - '^misc:'
    56      - '^upgrade'
    57      - '^update'
    58      - '^github'
    59      - '^release'
    60      # - '^\w+\s+' # a hack to remove commit messages without colons thus don't correspond to a package