-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yaml
48 lines (47 loc) · 1.15 KB
/
.goreleaser.yaml
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
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
- make build
- make test
builds:
- main: ./cmd/bngblasterctrl/bngblasterctrld.go
binary: bngblasterctrl
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
ldflags:
- -s -w -X main.Version={{.Version}}
nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}'
homepage: https://github.com/rtbrick/bngblaster-controller
description: |-
BNG Blaster Control Daemon
vendor: RtBrick
maintainer: RtBrick <[email protected]>
license: BSD-3
formats:
- deb
bindir: /usr/local/bin
section: utils
contents:
- src: debian/scripts/systemd/rtbrick-bngblasterctrl.service
dst: /lib/systemd/system/rtbrick-bngblasterctrl.service
file_info:
mode: 0644
scripts:
postinstall: debian/scripts/postinstall.sh
preremove: debian/scripts/preremove.sh
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'