forked from ncabatoff/process-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
39 lines (39 loc) · 1.01 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
builds:
- main: cmd/process-exporter/main.go
binary: process-exporter
flags: -tags netgo
goos:
- linux
goarch:
- amd64
- 386
- arm
- arm64
- ppc64
- ppc64le
archive:
name_template: "process-exporter-{{ .Version }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: true
nfpm:
homepage: https://github.com/ncabatoff/process-exporter
maintainer: nick.cabatoff+procexp@gmail.com
description: Prometheus exporter to report on processes running
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
files:
"packaging/process-exporter.service": "/lib/systemd/system/process-exporter.service"
config_files:
"packaging/conf/all.yaml": "/etc/process-exporter/all.yaml"
scripts:
postinstall: "packaging/scripts/postinstall.sh"
postremove: "packaging/scripts/postremove.sh"
preremove: "packaging/scripts/preremove.sh"
release:
github:
owner: ncabatoff
name: process-exporter
draft: false
prerelease: true