forked from redpanda-data/connect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
44 lines (44 loc) · 1.01 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
builds:
- id: benthos
main: cmd/benthos/main.go
binary: benthos
goos: [ windows, darwin, linux, freebsd, openbsd ]
goarch: [ amd64, arm, arm64 ]
goarm: [ 6 ]
ignore:
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
env:
- CGO_ENABLED=0
ldflags: >
-s -w
-X github.com/Jeffail/benthos/v3/lib/service.Version={{.Version}}
-X github.com/Jeffail/benthos/v3/lib/service.DateBuilt={{.Date}}
- id: benthos-lambda
main: cmd/serverless/benthos-lambda/main.go
binary: benthos-lambda
env:
- CGO_ENABLED=0
goos: [ linux ]
goarch: [ amd64 ]
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 }}"
dist: target/dist
release:
github:
owner: Jeffail
name: benthos
prerelease: auto
disable: false