-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
73 lines (64 loc) · 1.49 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
62
63
64
65
66
67
68
69
70
71
72
73
---
project_name: modemd
version: 2
release:
github:
owner: TheCacophonyProject
name: modemd
name_template: '{{.Tag}}'
builds:
- id: modemd
goos:
- linux
goarch:
- arm
- arm64
goarm:
- "7"
main: ./cmd/modemd
ldflags: -s -w -X main.version={{.Version}}
binary: modemd
- id: reception-logger
goos:
- linux
goarch:
- arm
- arm64
goarm:
- "7"
main: ./cmd/reception-logger
ldflags: -s -w -X main.version={{.Version}}
binary: reception-logger
- id: modem-cli
goos:
- linux
goarch:
- arm
- arm64
goarm:
- "7"
main: ./cmd/modem-cli
ldflags: -s -w -X main.version={{.Version}}
binary: modem-cli
nfpms:
- vendor: The Cacophony Project
homepage: http://cacophony.org.nz/
maintainer: Cacophony Developers <coredev@cacophony.org.nz>
description: Controls the USB modems
license: GPL v3.0
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
formats:
- deb
bindir: /usr/bin
contents:
- src: _release/modemd.service
dst: /etc/systemd/system/modemd.service
- src: _release/org.cacophony.modemd.conf
dst: /etc/dbus-1/system.d/org.cacophony.modemd.conf
- src: _release/99-modem-udev.rules
dst: /etc/udev/rules.d/99-modem-udev.rules
scripts:
postinstall: "_release/postinstall.sh"
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dist: dist