github.com/bingoohuang/pkger@v0.0.0-20210127185155-a71b9df4c4c7/.goreleaser.yml (about)

     1  builds:
     2    -
     3      main: ./cmd/pkger/main.go
     4      env:
     5        - CGO_ENABLED=0
     6      ldflags:
     7        - -s -w -X "github.com/bingoohuang/pkger.Version={{.Tag}}"
     8      goos:
     9        - darwin
    10        - linux
    11        - windows
    12      goarch:
    13        - amd64
    14        - 386
    15        - arm
    16        - arm64
    17      goarm:
    18        - 6
    19        - 7
    20  archives:
    21    -
    22      replacements:
    23        '386': i386
    24        darwin: Darwin
    25        linux: Linux
    26        windows: Windows
    27        amd64: x86_64
    28  checksum:
    29    name_template: checksums.txt
    30  snapshot:
    31    name_template: '{{ .Tag }}-next'
    32  changelog:
    33    sort: asc
    34    filters:
    35      exclude:
    36        - '^docs:'
    37        - '^test:'
    38  brews:
    39    -
    40      name: 'pkger'
    41      github:
    42        owner: 'markbates'
    43        name: 'homebrew-tap'
    44      install: |
    45        bin.install "pkger"