forked from brocaar/chirpstack-application-server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
45 lines (42 loc) · 1.3 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
project_name: chirpstack-application-server
builds:
- main: cmd/chirpstack-application-server/main.go
binary: chirpstack-application-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.loraserver.io/
maintainer: Orne Brocaar <[email protected]>
description: ChirpStack Application Server
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
files:
"packaging/files/chirpstack-application-server.rotate": "/etc/logrotate.d/chirpstack-application-server"
"packaging/files/chirpstack-application-server.init": "/usr/lib/chirpstack-application-server/scripts/chirpstack-application-server.init"
"packaging/files/chirpstack-application-server.service": "/usr/lib/chirpstack-application-server/scripts/chirpstack-application-server.service"
config_files:
"packaging/files/chirpstack-application-server.toml": "/etc/chirpstack-application-server/chirpstack-application-server.toml"
scripts:
preinstall: "packaging/scripts/pre-install.sh"
postinstall: "packaging/scripts/post-install.sh"
postremove: "packaging/scripts/post-remove.sh"