-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
51 lines (47 loc) · 1.07 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
project_name: pcba-test
dist: dist
release:
github:
owner: TheCacophonyProject
name: pcba-test
name_template: '{{.Tag}}'
builds:
- id: pcba-test-cli
binary: pcba-test-cli
main: ./cmd/pcba-test-cli
goos:
- linux
goarch:
- arm
goarm:
- "7"
ldflags: -s -w -X main.version={{.Version}}
- id: pcba-test-interface
binary: pcba-test-interface
main: ./cmd/pcba-test-interface
goos:
- linux
goarch:
- arm
goarm:
- "7"
ldflags: -s -w -X main.version={{.Version}}
hooks:
pre: packr
post: packr clean
nfpms:
- vendor: The Cacophony Project
homepage: http://cacophony.org.nz/
maintainer: Cacophony Developers <coredev@cacophony.org.nz>
description: Tool for testing PCBA
license: GPL v3.0
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
formats:
- deb
bindir: /usr/bin
files:
"_release/pcba-test-interface.service": "/etc/systemd/system/pcba-test-interface.service"
scripts:
postinstall: "_release/postinstall.sh"
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'