forked from redpanda-data/connect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
55 lines (55 loc) · 1.34 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
builds:
- id: benthos
main: cmd/benthos/main.go
binary: benthos
goos: [ windows, darwin, linux, freebsd, openbsd ]
goarch: [ amd64, arm, arm64 ]
goarm: [ 6, 7 ]
ignore:
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
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
main: cmd/serverless/benthos-lambda/main.go
binary: benthos-lambda
env:
- CGO_ENABLED=0
goos: [ linux ]
goarch: [ amd64 ]
- 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
- id: benthos-lambda
builds: [ benthos-lambda ]
format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: benthos-lambda-al2
builds: [ benthos-lambda-al2 ]
format: zip
name_template: "benthos-lambda-al2_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
dist: target/dist
release:
github:
owner: Jeffail
name: benthos
prerelease: auto
disable: false