-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
.goreleaser.yaml
77 lines (66 loc) · 1.62 KB
/
.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
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
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- freebsd
tags:
- nocgo
main: ./cmd/dnsmonster
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
# .goreleaser.yaml
nfpms:
# note that this is an array of nfpm configs
-
package_name: dnsmonster
homepage: https://dnsmonster.dev
maintainer: Ali Mosajjal <[email protected]>
description: |-
dnsmonster (built without CGO, no AFpacket support in this edition)
license: GPL-2.0
# Formats to be generated.
formats:
- apk
- deb
- rpm
- termux.deb # Since GoReleaser v1.11.
- archlinux # Since GoReleaser v1.13.
# Version Release.
release: 1
# Section.
section: default
# Priority.
priority: extra
# Makes a meta package - an empty package that contains only supporting
# files and dependencies.
# When set to `true`, the `builds` option is ignored.
# Defaults to false.
meta: true
contents:
# Basic file that applies to all packagers
- src: "./dist/{{ .PackageName }}_{{ .Os }}_{{ .Arch }}*/dnsmonster"
dst: /usr/bin/dnsmonster