-
-
Notifications
You must be signed in to change notification settings - Fork 275
/
.goreleaser.yml
45 lines (41 loc) · 1.24 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-gateway-bridge
env:
- GOMIPS=softfloat
builds:
- main: cmd/chirpstack-gateway-bridge/main.go
binary: chirpstack-gateway-bridge
goos:
- linux
goarch:
- amd64
- arm
- arm64
- mips
goarm:
- 5
- 6
- 7
hooks:
post: ./packaging/scripts/compress-mips.sh
release:
disable: true
nfpm:
vendor: ChirpStack
homepage: https://www.chirpstack.io/
maintainer: Orne Brocaar <[email protected]>
description: ChirpStack Gateway Bridge
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
files:
"packaging/files/chirpstack-gateway-bridge.rotate": "/etc/logrotate.d/chirpstack-gateway-bridge"
"packaging/files/chirpstack-gateway-bridge.init": "/usr/lib/chirpstack-gateway-bridge/scripts/chirpstack-gateway-bridge.init"
"packaging/files/chirpstack-gateway-bridge.service": "/usr/lib/chirpstack-gateway-bridge/scripts/chirpstack-gateway-bridge.service"
config_files:
"packaging/files/chirpstack-gateway-bridge.toml": "/etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml"
scripts:
preinstall: "packaging/scripts/pre-install.sh"
postinstall: "packaging/scripts/post-install.sh"
postremove: "packaging/scripts/post-remove.sh"