-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
48 lines (48 loc) · 862 Bytes
/
Copy path.goreleaser.yml
File metadata and controls
48 lines (48 loc) · 862 Bytes
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
before:
hooks:
- make vendor
builds:
- main: ./cmd/lmd-ng
env:
- CC="{{ .Env.PWD }}/hack/zcc.sh"
- CXX="{{ .Env.PWD }}/hack/zcxx.sh"
- CGO_ENABLED=1
ldflags:
- -s
- -w
- -linkmode external
- -X main.version={{.Version}}
- -X main.commit={{.ShortCommit}}
flags:
- -trimpath
- -a
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
- arm64
archives:
- replacements:
darwin: macos
linux: linux
windows: windows
386: 32-bit
amd64: 64-bit
arm64: arm-64-bit
format: zip
files:
- LICENSE
- README.md
- config.yaml.example
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Version }}"
changelog:
filters:
exclude:
- "^docs:"
- "^test:"