forked from brocaar/chirpstack-application-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
43 lines (40 loc) · 1.04 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
project_name: lora-app-server
builds:
- main: cmd/lora-app-server/main.go
binary: lora-app-server
goos:
- windows
- darwin
- linux
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 5
- 6
- 7
ignore:
- goos: darwin
goarch: 386
release:
disable: true
nfpm:
vendor: LoRa Server project
homepage: https://www.loraserver.io/
maintainer: Orne Brocaar <info@brocaar.com>
description: LoRa App Server
license: MIT
formats:
- deb
bindir: /usr/bin
files:
"packaging/files/lora-app-server.rotate": "/etc/logrotate.d/lora-app-server"
"packaging/files/lora-app-server.init": "/usr/lib/lora-app-server/scripts/lora-app-server.init"
"packaging/files/lora-app-server.service": "/usr/lib/lora-app-server/scripts/lora-app-server.service"
config_files:
"packaging/files/lora-app-server.toml": "/etc/lora-app-server/lora-app-server.toml"
scripts:
postinstall: "packaging/scripts/post-install.sh"
postremove: "packaging/scripts/post-remove.sh"