github.com/Comcast/plax@v0.8.32/.goreleaser.yml (about)

     1  release:
     2    github:
     3      owner: Comcast
     4      name: plax
     5  before:
     6    hooks:
     7      - go mod download
     8      - go generate ./...
     9  builds:
    10    - main: cmd/plax/main.go
    11      id: plax
    12      binary: plax
    13      env:
    14        - CGO_ENABLED=0
    15      goos:
    16        - linux
    17        - darwin
    18        - windows
    19      ignore:
    20        - goos: windows
    21          goarch: arm64
    22    - main: cmd/plaxrun/main.go
    23      id: plaxrun
    24      binary: plaxrun
    25      env:
    26        - CGO_ENABLED=0
    27      goos:
    28        - linux
    29        - darwin
    30        - windows
    31      ignore:
    32        - goos: windows
    33          goarch: arm64
    34    - main: cmd/plaxrun/plugins/report/stdout/main.go
    35      id: plaxrun_report_stdout
    36      binary: plaxrun_report_stdout
    37      env:
    38        - CGO_ENABLED=0
    39      goos:
    40        - linux
    41        - darwin
    42        - windows
    43      ignore:
    44        - goos: windows
    45          goarch: arm64
    46    - main: cmd/plaxrun/plugins/report/octane/main.go
    47      id: plaxrun_report_octane
    48      binary: plaxrun_report_octane
    49      env:
    50        - CGO_ENABLED=0
    51      goos:
    52        - linux
    53        - darwin
    54        - windows
    55      ignore:
    56        - goos: windows
    57          goarch: arm64
    58    - main: cmd/plaxrun/plugins/report/rp/main.go
    59      id: plaxrun_report_rp
    60      binary: plaxrun_report_rp
    61      env:
    62        - CGO_ENABLED=0
    63      goos:
    64        - linux
    65        - darwin
    66        - windows
    67      ignore:
    68        - goos: windows
    69          goarch: arm64
    70    - main: cmd/yamlincl/main.go
    71      id: yamlincl
    72      binary: yamlincl
    73      env:
    74        - CGO_ENABLED=0
    75      goos:
    76        - linux
    77        - darwin
    78        - windows
    79      ignore:
    80        - goos: windows
    81          goarch: arm64
    82  archives:
    83    - name_template: >-
    84        {{- .ProjectName }}_
    85        {{- .Version }}_
    86        {{- title .Os }}_
    87        {{- if eq .Arch "amd64" }}x86_64
    88        {{- else if eq .Arch "386" }}i386
    89        {{- else }}{{ .Arch }}{{ end }}
    90        {{- if .Arm }}v{{ .Arm }}{{ end -}}
    91      format_overrides:
    92        - goos: windows
    93          format: zip
    94      files:
    95        - cmd/plaxrun/demos/**
    96        - demos/*
    97        - demos/*/*
    98        - doc/*.md
    99        - LICENSE
   100        - NOTICE
   101      wrap_in_directory: true
   102  checksum:
   103    name_template: 'checksums.txt'
   104  snapshot:
   105    name_template: "{{ .Tag }}-next"
   106  changelog:
   107    sort: asc
   108    filters:
   109      exclude:
   110        - '^docs:'
   111        - '^test:'