-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.goreleaser.yml
44 lines (40 loc) · 1.02 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
project_name: audiobait
dist: dist
release:
github:
owner: TheCacophonyProject
name: audiobait
name_template: '{{.Tag}}'
builds:
- goos:
- linux
goarch:
- arm
goarm:
- "7"
main: ./cmd/audiobait
ldflags: -s -w -X main.version={{.Version}}
binary: audiobait
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
nfpms:
- vendor: The Cacophony Project
homepage: http://cacophony.org.nz/
maintainer: Cacophony Developers <[email protected]>
description: Play audio lures on a schedule
license: GPL v3.0
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
formats:
- deb
dependencies:
- sox
bindir: /usr/bin
contents:
- src: _release/audiobait.service
dst: /etc/systemd/system/audiobait.service
- src: _release/org.cacophony.Audiobait.conf
dst: /etc/dbus-1/system.d/org.cacophony.Audiobait.conf
- src: _release/testSound.wav
dst: /var/lib/audiobait/testSound.wav
scripts:
postinstall: "_release/postinstall.sh"