forked from nextdns/nextdns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
102 lines (99 loc) · 1.75 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
before:
hooks:
- go mod tidy
builds:
-
goos:
- freebsd
- netbsd
- openbsd
- dragonfly
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
- mips
- mipsle
- mips64
- mips64le
goarm:
- 5
- 6
- 7
gomips:
- softfloat
- hardfloat
env:
- CGO_ENABLED=0
ignore:
-
goos: windows
goarch: arm64
archives:
-
format_overrides:
-
goos: windows
format: zip
files:
- LICENSE
- README.md
checksum:
name_template: 'checksums.txt'
release:
name_template: "{{.ProjectName}}-v{{.Version}}"
brews:
-
tap:
owner: nextdns
name: homebrew-tap
commit_author:
name: NextDNS Team
email: [email protected]
homepage: https://nextdns.io
description: NextDNS DNS/53 to DoH Proxy
caveats: "To install NextDNS, run the following command:
sudo nextdns install --config <your_conf_id>
Then setup your DNS manually to 127.0.0.1 or by running:
sudo nextdns activate
"
nfpms:
-
vendor: NextDNS Inc
homepage: https://nextdns.io
maintainer: NextDNS Team <[email protected]>
description: NextDNS DNS/53 to DoH Proxy
license: MIT
formats:
- deb
- rpm
- apk
bindir: /usr/bin
dependencies:
- curl
overrides:
deb:
scripts:
postinstall: ".goreleaser/deb/postinst"
preremove: ".goreleaser/deb/prerm"
rpm:
scripts:
postinstall: ".goreleaser/rpm/post"
preremove: ".goreleaser/rpm/preun"
apk:
scripts:
postinstall: ".goreleaser/apk/post-install"
preremove: ".goreleaser/apk/pre-deinstall"
apk:
scripts:
postupgrade: ".goreleaser/apk/post-upgrade"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'