forked from ncabatoff/process-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
42 lines (42 loc) · 1.15 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
builds:
- main: cmd/process-exporter/main.go
binary: process-exporter
flags: -tags netgo
goos:
- linux
goarch:
- amd64
- 386
- arm
- arm64
- ppc64
- ppc64le
archives:
- name_template: "process-exporter-{{ .Version }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: true
checksum:
name_template: checksums.txt
nfpms:
- homepage: https://github.com/ncabatoff/process-exporter
maintainer: [email protected]
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
packaging/default/process-exporter: /etc/default/process-exporter
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