-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
86 lines (78 loc) · 1.72 KB
/
.goreleaser.yml
File metadata and controls
86 lines (78 loc) · 1.72 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
builds:
# All source files have //go:build linux — binder requires /dev/binder.
# Remote mode still needs linux (gadb proxy links linux-only packages).
- id: binder-mcp
main: ./cmd/binder-mcp/
binary: binder-mcp
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w
- id: bindercli
main: ./cmd/bindercli/
binary: bindercli
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
# bindercli pulls in 923 packages (~1.2M lines of generated code).
# Compiling packages in parallel exhausts the 7GB GitHub runner RAM
# during cross-compilation. Limit to 1 concurrent package compilation.
flags:
- -p
- '1'
ldflags:
- -s -w
- id: binder-proxyd
main: ./cmd/binder-proxyd/
binary: binder-proxyd
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w
archives:
- id: binder-mcp
builds: [binder-mcp]
formats:
- binary
name_template: "binder-mcp_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: bindercli
builds: [bindercli]
formats:
- binary
name_template: "bindercli_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: binder-proxyd
builds: [binder-proxyd]
formats:
- binary
name_template: "binder-proxyd_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: "checksums.txt"
release:
github:
owner: AndroidGoLab
name: binder
draft: false
prerelease: auto
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"