-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
56 lines (56 loc) · 1.28 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
before:
hooks:
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
goarch:
- amd64
- arm
goarm:
- 7
ignore:
- goos: windows
goarch: arm
archive:
replacements:
darwin: macOS
linux: Linux
windows: Windows
386: x86_32
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
nfpm:
name_template: '{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
homepage: https://github.com/axxelG/loxwebhook
description: Make selected Loxone inputs and outputs securely available on the internet
maintainer: Axel Gluth <mail@axelgluth.de>
vendor: Axel Gluth
license: LGPL-3.0
formats:
- deb
bindir: "/usr/local/bin/loxwebhook/"
config_files:
"./config.example.toml": "/etc/loxwebhook/config.toml"
files:
"./controls.d/example.toml.disabled": "/etc/loxwebhook/controls.d/example.toml.disabled"
"./install/systemd_loxwebhook.service": "/etc/systemd/system/loxwebhook.service"
scripts:
preinstall: "./install/deb_preinstall.sh"
postinstall: "./install/deb_postinstall.sh"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}.{{.ShortCommit}}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'