-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
61 lines (55 loc) · 1.31 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
52
53
54
55
56
57
58
59
60
61
project_name: management-interface
release:
github:
owner: TheCacophonyProject
name: management-interface
name_template: "{{.Tag}}"
version: 2
builds:
- id: "managementd"
binary: "managementd"
main: "./cmd/managementd"
goos:
- linux
goarch:
- arm
- arm64
goarm:
- "7"
ldflags: -s -w -X main.version={{.Version}}
hooks:
pre:
- packr
- tsc
post: packr clean
- id: "signal-strength"
binary: "signal-strength"
main: "./cmd/signal-strength"
goos:
- linux
goarch:
- arm
- arm64
goarm:
- "7"
ldflags: -s -w
nfpms:
- vendor: The Cacophony Project
homepage: http://cacophony.org.nz/
maintainer: Cacophony Developers <[email protected]>
description: Management interface for Cacophonators
license: GPL v3.0
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
formats:
- deb
bindir: /usr/bin
contents:
- src: _release/managementd-avahi.service
dst: /etc/avahi/services/managementd.service
- src: _release/managementd.service
dst: /etc/systemd/system/managementd.service
scripts:
postinstall: "_release/postinstall.sh"
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
dist: dist