gitee.com/mirrors_opencollective/goreleaser@v0.45.0/.goreleaser.yml (about)

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