github.com/Jeffail/benthos/v3@v3.65.0/.goreleaser.yml (about)

     1  builds:
     2    - id: benthos
     3      main: cmd/benthos/main.go
     4      binary: benthos
     5      goos: [ windows, darwin, linux, freebsd, openbsd ]
     6      goarch: [ amd64, arm, arm64 ]
     7      goarm: [ 6, 7 ]
     8      ignore:
     9        - goos: windows
    10          goarch: arm
    11        - goos: darwin
    12          goarch: arm
    13      env:
    14        - CGO_ENABLED=0
    15      ldflags: >
    16        -s -w
    17        -X github.com/Jeffail/benthos/v3/lib/service.Version={{.Version}}
    18        -X github.com/Jeffail/benthos/v3/lib/service.DateBuilt={{.Date}}
    19    - id: benthos-lambda
    20      main: cmd/serverless/benthos-lambda/main.go
    21      binary: benthos-lambda
    22      env:
    23        - CGO_ENABLED=0
    24      goos: [ linux ]
    25      goarch: [ amd64 ]
    26    - id: benthos-lambda-al2
    27      main: cmd/serverless/benthos-lambda/main.go
    28      binary: bootstrap
    29      env:
    30        - CGO_ENABLED=0
    31      goos: [ linux ]
    32      goarch: [ amd64, arm64 ]
    33  archives:
    34    - id: benthos
    35      builds: [ benthos ]
    36      format: tar.gz
    37      files:
    38        - README.md
    39        - CHANGELOG.md
    40        - LICENSE
    41    - id: benthos-lambda
    42      builds: [ benthos-lambda ]
    43      format: zip
    44      name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
    45    - id: benthos-lambda-al2
    46      builds: [ benthos-lambda-al2 ]
    47      format: zip
    48      name_template: "benthos-lambda-al2_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
    49  dist: target/dist
    50  release:
    51    github:
    52      owner: Jeffail
    53      name: benthos
    54    prerelease: auto
    55    disable: false