github.com/nats-io/nats-server/v2@v2.11.0-preview.2/.goreleaser.yml (about)

     1  project_name: nats-server
     2  
     3  release:
     4    github:
     5      owner: nats-io
     6      name: nats-server
     7    name_template: 'Release {{.Tag}}'
     8    draft: true
     9  
    10  changelog:
    11    skip: true
    12  
    13  builds:
    14  - main: .
    15    binary: nats-server
    16    flags:
    17    - -trimpath
    18    ldflags:
    19      - -w -X github.com/nats-io/nats-server/v2/server.gitCommit={{.ShortCommit}}
    20    env:
    21      - GO111MODULE=on
    22      - CGO_ENABLED=0
    23    goos:
    24    - darwin
    25    - linux
    26    - windows
    27    - freebsd
    28    goarch:
    29    - amd64
    30    - arm
    31    - arm64
    32    - 386
    33    - mips64le
    34    - s390x
    35    - ppc64le
    36    goarm:
    37    - 6
    38    - 7
    39    ignore:
    40      - goos: darwin
    41        goarch: 386
    42      - goos: freebsd
    43        goarch: arm
    44      - goos: freebsd
    45        goarch: arm64
    46      - goos: freebsd
    47        goarch: 386
    48  
    49  nfpms:
    50    - file_name_template: '{{.ProjectName}}-{{.Tag}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
    51      homepage:  https://nats.io
    52      description: High-Performance server for NATS, the cloud native messaging system.
    53      maintainer: Ivan Kozlovic <ivan@synadia.com>
    54      license: Apache 2.0
    55      vendor: Synadia Inc.
    56      formats:
    57      - deb
    58      - rpm
    59      contents:
    60      - src: /usr/bin/nats-server
    61        dst: /usr/local/bin/nats-server
    62        type: "symlink"
    63  
    64  archives:
    65    - name_template: '{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
    66      wrap_in_directory: true
    67      format: zip
    68      files:
    69        - README.md
    70        - LICENSE
    71    - name_template: '{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
    72      id: targz-archives
    73      wrap_in_directory: true
    74      format: tar.gz
    75      files:
    76        - README.md
    77        - LICENSE
    78  
    79  checksum:
    80    name_template: 'SHA256SUMS'
    81    algorithm: sha256