-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
44 lines (44 loc) · 1.16 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
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
archives:
- replacements:
linux: Linux
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^Merge'
nfpms:
-
package_name: systemd-resolved-exporter
file_name_template: 'systemd-resolved-exporter_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
homepage: https://github.com/egmc/systemd_resolved_exporter
maintainer: [email protected]
description: "Prometheus exporter to report systemd-resolved statistics"
license: MIT
replacements:
linux: Linux
formats:
- deb
contents:
- src: "packaging/deb/systemd/systemd-resolved-exporter.service"
dst: "/usr/lib/systemd/system/systemd-resolved-exporter.service"
bindir: /usr/bin
scripts:
postinstall: "packaging/scripts/postinstall"
postremove: "packaging/scripts/postremove"
preremove: "packaging/scripts/preremove"