-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yml
65 lines (58 loc) · 1.42 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
project_name: cacophony-config
release:
github:
owner: TheCacophonyProject
name: go-config
name_template: "{{.Tag}}"
builds:
- id: cacophony-config-import
goos:
- linux
goarch:
- arm
- arm64
goarm:
- "7"
main: ./cmd/cacophony-config-import
ldflags: -s -w -X main.version={{.Version}}
binary: cacophony-config-import
- id: cacophony-config
goos:
- linux
goarch:
- arm
- arm64
goarm:
- "7"
main: ./cmd/cacophony-config
ldflags: -s -w -X main.version={{.Version}}
binary: cacophony-config
- id: cacophony-config-sync
goos:
- linux
goarch:
- arm
- arm64
goarm:
- "7"
main: ./cmd/cacophony-config-sync
ldflags: -s -w -X main.version={{.Version}}
binary: cacophony-config-sync
nfpms:
- vendor: The Cacophony Project
homepage: http://cacophony.org.nz/
maintainer: Cacophony Developers <[email protected]>
description: Helper for cacophony config files
license: GPL v3.0
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
formats:
- deb
bindir: /usr/bin
contents:
- src: _release/cacophony-config-sync.service
dst: /etc/systemd/system/cacophony-config-sync.service
scripts:
postinstall: "_release/postinstall.sh"
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
dist: dist