forked from chirpstack/chirpstack-gateway-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
51 lines (47 loc) · 1.34 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
51
project_name: chirpstack-gateway-bridge
env:
- GOMIPS=softfloat
builds:
- main: cmd/chirpstack-gateway-bridge/main.go
binary: chirpstack-gateway-bridge
goos:
- windows
- darwin
- linux
goarch:
- amd64
- 386
- arm
- arm64
- mips
goarm:
- 5
- 6
- 7
ignore:
- goos: darwin
goarch: 386
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"