-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.goreleaser.yaml
42 lines (36 loc) · 862 Bytes
/
.goreleaser.yaml
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
version: 2
project_name: mumble-discord-bridge
before:
hooks:
- go mod tidy
builds:
- goos:
- linux
goarch:
- amd64
# - arm64
main: ./cmd/mumble-discord-bridge
env:
- CGO_ENABLED=1
# - >-
# {{- if eq .Arch "arm64" }}
# CC=aarch64-linux-gnu-gcc
# CGO_CFLAGS="-I/usr/aarch64-linux-gnu/include"
# CGO_LDFLAGS="-L/usr/aarch64-linux-gnu/lib"
# PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig
# {{- end }}
ldflags: "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser"
flags:
- -tags=netgo
checksum:
name_template: "checksums.txt"
release:
extra_files:
- glob: "./LICENSES.zip"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"