github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/.goreleaser.yml (about)

     1  builds:
     2    - main: ./protoc-gen-grpc-gateway/main.go
     3      id: protoc-gen-grpc-gateway
     4      binary: protoc-gen-grpc-gateway
     5      env:
     6        - CGO_ENABLED=0
     7      goos:
     8        - linux
     9        - darwin
    10        - windows
    11      goarch:
    12        - amd64
    13        - arm64
    14    - main: ./protoc-gen-openapiv2/main.go
    15      id: protoc-gen-openapiv2
    16      binary: protoc-gen-openapiv2
    17      env:
    18        - CGO_ENABLED=0
    19      goos:
    20        - linux
    21        - darwin
    22        - windows
    23      goarch:
    24        - amd64
    25        - arm64
    26  archives:
    27    - name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{if eq .Arch "amd64"}}x86_64{{else}}{{ .Arch }}{{end}}'
    28      format: binary
    29  dist: _output