-
Notifications
You must be signed in to change notification settings - Fork 9
/
.goreleaser.yml
49 lines (49 loc) · 897 Bytes
/
.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
before:
hooks:
- go mod tidy
- go vet
- staticcheck
- gosec .
builds:
- env:
- CGO_ENABLED=0
targets:
- openbsd_amd64
- openbsd_arm64
- openbsd_386
- openbsd_arm
- freebsd_amd64
- freebsd_arm64
- freebsd_386
- darwin_amd64
- darwin_arm64
- windows_amd64
- netbsd_amd64
- netbsd_arm64
- netbsd_386
- dragonfly_amd64
goos:
- openbsd
- freebsd
- netbsd
- dragonfly
- linux
- windows
- darwin
ldflags:
- -s -w -X main.build={{.Version}}
signs:
- artifacts: checksum
source:
enabled: true
name_template: '{{ .ProjectName }}-src-{{ .Version }}'
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'