forked from makenew/benthos-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
42 lines (37 loc) · 948 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
dist: target/dist
release:
prerelease: auto
changelog:
skip: true
signs:
- artifacts: checksum
builds:
- id: benthos
main: cmd/benthos/main.go
binary: benthos
goos: [windows, darwin, linux]
goarch: [amd64, arm64]
env:
- CGO_ENABLED=0
ldflags: >
-s -w
-X github.com/benthosdev/benthos/v4/internal/cli.Version={{.Version}}
-X github.com/benthosdev/benthos/v4/internal/cli.DateBuilt={{.Date}}
- id: benthos-lambda-al2
main: cmd/serverless/benthos-lambda/main.go
binary: bootstrap
env:
- CGO_ENABLED=0
goos: [linux]
goarch: [amd64, arm64]
archives:
- id: benthos
builds: [benthos]
format: tar.gz
files: [README.md, CHANGELOG.md, LICENSE.txt]
- id: benthos-lambda-al2
builds: [benthos-lambda-al2]
format: zip
files: [README.md, CHANGELOG.md, LICENSE.txt]
name_template: 'benthos-lambda-al2_{{ .Version }}_{{ .Os }}_{{ .Arch }}'