-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
43 lines (43 loc) · 1.18 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
builds:
- main: ./
flags: -a -tags netgo
ldflags: |
-s -w
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
nfpms:
-
package_name: cloudwatch-read-adapter
file_name_template: 'cloudwatch-read-adapter_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
homepage: https://github.com/mtanda/cloudwatch_read_adapter
maintainer: Mitsuhiro Tanda
description: cloudwatch read adapter
license: Apache 2.0
formats:
- deb
bindir: /usr/local/bin
contents:
- src: "packaging/deb/etc/default/cloudwatch_read_adapter"
dst: "/etc/default/cloudwatch_read_adapter"
type: config
- src: "packaging/deb/usr/local/etc/cloudwatch_read_adapter.yml"
dst: "/usr/local/etc/cloudwatch_read_adapter.yml"
type: config
- src: "packaging/deb/systemd"
dst: "/usr/lib/systemd/system"
scripts:
postinstall: "packaging/scripts/postinstall.sh"
postremove: "packaging/scripts/postremove.sh"
preremove: "packaging/scripts/preremove.sh"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^cut:'
- '^typo'