forked from warpstreamlabs/bento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
55 lines (55 loc) · 1.32 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: bento
main: cmd/bento/main.go
binary: bento
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/warpstreamlabs/bento/internal/cli.Version={{.Version}}
-X github.com/warpstreamlabs/bento/internal/cli.DateBuilt={{.Date}}
- id: bento-lambda
main: cmd/serverless/bento-lambda/main.go
binary: bento-lambda
env:
- CGO_ENABLED=0
goos: [ linux ]
goarch: [ amd64 ]
- id: bento-lambda-al2
main: cmd/serverless/bento-lambda/main.go
binary: bootstrap
env:
- CGO_ENABLED=0
goos: [ linux ]
goarch: [ amd64, arm64 ]
archives:
- id: bento
builds: [ bento ]
format: tar.gz
files:
- README.md
- CHANGELOG.md
- LICENSE
- id: bento-lambda
builds: [ bento-lambda ]
format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: bento-lambda-al2
builds: [ bento-lambda-al2 ]
format: zip
name_template: "bento-lambda-al2_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
dist: target/dist
release:
github:
owner: warpstreamlabs
name: bento
prerelease: auto
disable: false