-
-
Notifications
You must be signed in to change notification settings - Fork 546
/
.goreleaser.yml
47 lines (44 loc) · 1.51 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
project_name: chirpstack-network-server
builds:
- main: cmd/chirpstack-network-server/main.go
binary: chirpstack-network-server
goos:
- windows
- darwin
- linux
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 5
- 6
- 7
ignore:
- goos: darwin
goarch: 386
release:
disable: true
nfpm:
vendor: ChirpStack
homepage: https://www.chirpstack.io/
maintainer: Orne Brocaar <info@brocaar.com>
description: ChirpStack Network Server
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
files:
"packaging/files/chirpstack-network-server.rotate": "/etc/logrotate.d/chirpstack-network-server"
"packaging/files/chirpstack-network-server.init": "/usr/lib/chirpstack-network-server/scripts/chirpstack-network-server.init"
"packaging/files/chirpstack-network-server.service": "/usr/lib/chirpstack-network-server/scripts/chirpstack-network-server.service"
"packaging/files/chirpstack-network-server-eu868.toml": "/etc/chirpstack-network-server/examples/chirpstack-network-server-eu868.toml"
"packaging/files/chirpstack-network-server-us915.toml": "/etc/chirpstack-network-server/examples/chirpstack-network-server-us915.toml"
config_files:
"packaging/files/chirpstack-network-server.toml": "/etc/chirpstack-network-server/chirpstack-network-server.toml"
scripts:
preinstall: "packaging/scripts/pre-install.sh"
postinstall: "packaging/scripts/post-install.sh"
postremove: "packaging/scripts/post-remove.sh"