github.com/sergiusens/goreleaser@v0.34.3-0.20171009111917-ae6f7c157c5c/.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  dockers:
    17    - image: goreleaser/goreleaser
    18      latest: true
    19  archive:
    20    name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
    21    replacements:
    22      darwin: Darwin
    23      linux: Linux
    24      windows: Windows
    25      386: i386
    26      amd64: x86_64
    27    format_overrides:
    28      - goos: windows
    29        format: zip
    30  brew:
    31    github:
    32      owner: goreleaser
    33      name: homebrew-tap
    34    folder: Formula
    35    homepage:  http://goreleaser.github.io
    36    description: Deliver Go binaries as fast and easily as possible
    37    test: |
    38      system "#{bin}/goreleaser -v"
    39  fpm:
    40    homepage:  http://goreleaser.github.io
    41    description: Deliver Go binaries as fast and easily as possible
    42    maintainer: Carlos Alexandro Becker <root@carlosbecker.com>
    43    license: MIT
    44    vendor: GoReleaser
    45    formats:
    46      - deb
    47      - rpm
    48    dependencies:
    49      - git
    50  snapcraft:
    51    summary: Deliver Go binaries as fast and easily as possible
    52    description: |
    53      GoReleaser builds Go binaries for several platforms, creates a GitHub
    54      release and then pushes a Homebrew formula to a repository. All that
    55      wrapped in your favorite CI.
    56    grade: stable
    57    confinement: classic