github.com/Code-Hex/battery@v1.0.0/.goreleaser.yml (about)

     1  builds:
     2    - id: battery
     3      main: ./cmd/battery/main.go
     4      binary: battery
     5      env:
     6        - CGO_ENABLED=0
     7      ldflags: -s -w -X main.version={{.Version}}
     8      goos:
     9        - linux
    10        - darwin
    11        - windows
    12      goarch:
    13        - "386"
    14        - amd64
    15        - arm
    16        - arm64
    17      goarm:
    18        - "6"
    19        - "7"
    20      ignore:
    21        - goos: darwin
    22          goarch: "386"
    23        - goos: linux
    24          goarch: arm
    25          goarm: "7"
    26        - goos: windows
    27          goarch: arm
    28          goarm: "7"
    29  
    30  archives:
    31  - builds:
    32    - battery
    33    name_template: 'battery_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
    34    replacements:
    35      darwin: macOS
    36      linux: Linux
    37      windows: Windows
    38      386: i386
    39      amd64: x86_64
    40    format_overrides:
    41    - goos: windows
    42      format: zip
    43    files:
    44    - LICENSE
    45  
    46  brews:
    47  - name: battery
    48    tap:
    49      owner: Code-Hex
    50      name: homebrew-tap
    51      token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
    52    homepage: https://github.com/Code-Hex/battery
    53    description: Display your battery status on terminal (or tmux) written by Go
    54    folder: Formula
    55    install: |
    56      bin.install "battery"
    57  nfpms:
    58    - license: MIT License
    59      maintainer: Kei Kamikawa <x00.x7f.x86@gmail.com>
    60      homepage: https://github.com/Code-Hex/battery
    61      bindir: /usr/local/bin
    62      description: Display your battery status on terminal (or tmux) written by Go
    63      replacements:
    64        linux: Linux
    65      formats:
    66        - apk
    67        - deb
    68        - rpm
    69  
    70  checksum:
    71    name_template: 'battery_checksums.txt'
    72  
    73  changelog:
    74    sort: asc
    75    filters:
    76      exclude:
    77      - '^docs:'
    78      - '^test:'
    79      - Merge pull request
    80      - Merge branch