-
Notifications
You must be signed in to change notification settings - Fork 18
/
.goreleaser.yml
50 lines (44 loc) · 1.12 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
# Build customization
builds:
- main: ./cmd/kvmtop
binary: kvmtop
goos:
- linux
goarch:
- amd64
- main: ./cmd/kvmprofiler
binary: kvmprofiler
goos:
- linux
goarch:
- amd64
nfpm:
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
vendor: Christopher B. Hauser
homepage: https://cha87de.github.io/kvmtop/
maintainer: Christopher B. Hauser <[email protected]>
description: Monitor virtual machine experience from outside on KVM hypervisor level
license: GPL-3.0
# Formats to be generated.
formats:
- deb
- rpm
# Override default /usr/local/bin destination for binaries
bindir: /usr/bin
# additional files, e.g. systemd service
files:
"pkgbuild/kvmtop.service": "/etc/systemd/system/kvmtop.service"
"pkgbuild/kvmprofiler.service": "/etc/systemd/system/kvmprofiler.service"
config_files:
"pkgbuild/kvmtop.conf": "/etc/kvmtop.conf"
dockers:
-
goos: linux
goarch: amd64
goarm: ''
image_templates:
- 'cha87de/kvmtop:{{ .Tag }}'
- 'cha87de/kvmtop:latest'
extra_files:
- init
- dist/linux_amd64