forked from inexio/thola
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
53 lines (42 loc) · 890 Bytes
/
.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
51
52
53
# .goreleaser.yml
builds:
- id: "thola"
ignore:
- goos: linux
goarch: 386
main: ./main.go
binary: thola
env:
- CGO_ENABLED=0
- id: "thola-client"
ignore:
- goos: linux
goarch: 386
main: ./main.go
binary: thola-client
flags:
- -tags=client
env:
- CGO_ENABLED=0
nfpms:
- id: "thola"
homepage: https://thola.io
maintainer: [email protected]
description: Network Monitoring Tool
license: BSD-2-clause
formats:
- deb
contents:
- src: scripts/thola.service
dst: /lib/systemd/system/thola.service
scripts:
preinstall: "scripts/pre-install.sh"
postinstall: "scripts/post-install.sh"
postremove: "scripts/post-uninstall.sh"
archives:
- builds:
- thola
- thola-client
replacements:
amd64: 64-bit
darwin: macOS