File tree Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is an example .goreleaser.yml file with some sensible defaults.
2
+ # Make sure to check the documentation at https://goreleaser.com
3
+ before :
4
+ hooks :
5
+ # You may remove this if you don't use go modules.
6
+ - go mod tidy
7
+ builds :
8
+ - id : pushprox-client
9
+ main : ./cmd/client
10
+ goos :
11
+ - linux
12
+ goarch :
13
+ - amd64
14
+ - arm64
15
+ binary : pushprox-client
16
+ ldflags :
17
+ - -s
18
+ - -w
19
+ flags :
20
+ - -trimpath
21
+ env :
22
+ - CGO_ENABLED=0
23
+ - id : pushprox-proxy
24
+ main : ./cmd/proxy
25
+ goos :
26
+ - linux
27
+ goarch :
28
+ - amd64
29
+ - arm64
30
+ binary : pushprox-proxy
31
+ ldflags :
32
+ - -s
33
+ - -w
34
+ flags :
35
+ - -trimpath
36
+ env :
37
+ - CGO_ENABLED=0
38
+ # same archives as opentelemetry-collector releases
39
+ archives :
40
+ - id : pushprox-client
41
+ builds :
42
+ - pushprox-client
43
+ name_template : ' {{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
44
+ - id : pushprox-proxy
45
+ builds :
46
+ - pushprox-proxy
47
+ name_template : ' {{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
48
+ checksum :
49
+ name_template : ' checksums.txt'
50
+ snapshot :
51
+ name_template : " {{ incpatch .Version }}-next"
52
+ changelog :
53
+ sort : asc
54
+ filters :
55
+ exclude :
56
+ - ' ^docs:'
57
+ - ' ^test:'
58
+
59
+ # The lines beneath this are called `modelines`. See `:help modeline`
60
+ # Feel free to remove those if you don't want/use them.
61
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
62
+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
You can’t perform that action at this time.
0 commit comments