github.com/tahsinrahman/goreleaser@v0.79.1/.goreleaser.yml (about)

     1  before:
     2    hooks:
     3    - go generate ./...
     4  builds:
     5  - env:
     6      - CGO_ENABLED=0
     7    goos:
     8      - linux
     9      - darwin
    10      - windows
    11    goarch:
    12      - 386
    13      - amd64
    14      - arm
    15      - arm64
    16  checksum:
    17    name_template: '{{ .ProjectName }}_checksums.txt'
    18  changelog:
    19    sort: asc
    20    filters:
    21      exclude:
    22      - '^docs:'
    23      - '^test:'
    24      - Merge pull request
    25      - Merge branch
    26  dockers:
    27  - image: goreleaser/goreleaser
    28    tag_templates:
    29    - '{{ .Tag }}'
    30    - 'v{{ .Major }}.{{ .Minor }}'
    31    - 'latest'
    32  archive:
    33    name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
    34    replacements:
    35      darwin: Darwin
    36      linux: Linux
    37      windows: Windows
    38      386: i386
    39      amd64: x86_64
    40    format_overrides:
    41    - goos: windows
    42      format: zip
    43  brew:
    44    github:
    45      owner: goreleaser
    46      name: homebrew-tap
    47    folder: Formula
    48    homepage:  https://goreleaser.com
    49    description: Deliver Go binaries as fast and easily as possible
    50    test: |
    51      system "#{bin}/goreleaser -v"
    52  scoop:
    53    bucket:
    54      owner: goreleaser
    55      name: scoop-bucket
    56    homepage:  https://goreleaser.com
    57    description: Deliver Go binaries as fast and easily as possible
    58    license: MIT
    59  nfpm:
    60    name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
    61    homepage:  https://goreleaser.com
    62    description: Deliver Go binaries as fast and easily as possible
    63    maintainer: Carlos Alexandro Becker <root@carlosbecker.com>
    64    license: MIT
    65    vendor: GoReleaser
    66    formats:
    67    - deb
    68    - rpm
    69    dependencies:
    70    - git
    71    recommends:
    72    - rpm
    73  snapcraft:
    74    name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
    75    summary: Deliver Go binaries as fast and easily as possible
    76    description: |
    77      GoReleaser builds Go binaries for several platforms, creates a GitHub
    78      release and then pushes a Homebrew formula to a repository. All that
    79      wrapped in your favorite CI.
    80    grade: stable
    81    confinement: classic
    82