forked from parca-dev/parca-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
71 lines (68 loc) · 1.52 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
before:
hooks:
- go mod tidy
env:
- CGO_CFLAGS=-I{{ .Env.BPF_OUT }}/libbpf/usr/include
- CGO_LDFLAGS={{ .Env.BPF_OUT }}/libbpf/libbpf.a
builds:
- main: ./cmd/parca-agent/
id: "parca-agent"
binary: parca-agent
env:
- CGO_ENABLED=1
- CC=clang
goos:
- linux
goarch:
- amd64
hooks:
pre:
- make clean
- make bpf
flags:
- -trimpath
- -v
ldflags:
- main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`
- main: ./cmd/debug-info/
id: "debug-info"
binary: parca-debug-info
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
flags:
- -trimpath
- -v
ldflags:
- main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`
archives:
- replacements:
linux: Linux
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Tag }}-next"
release:
prerelease: auto
# Defaults to empty.
footer: |
## Docker images
`docker pull ghcr.io/parca-dev/parca-agent:{{ .Tag }}`
## Thanks!
Join our [Discord server](https://discord.com/invite/ZgUpYgpzXy);
Follow us on [Twitter](https://twitter.com/ParcaDev);
Read the [documentation](https://www.parca.dev/docs/overview).
changelog:
sort: asc
use: github
filters:
exclude:
- '^docs:'
- '^test:'