forked from ozontech/file.d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
45 lines (44 loc) · 1002 Bytes
/
.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
before:
hooks:
- go mod download
env:
- GO111MODULE=on
- CGO_ENABLED=0
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
release:
prerelease: auto
builds:
- main: ./cmd/file.d
goos:
- linux
- darwin
goarch:
- amd64
- arm64
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
- -pgo=default.pgo
ldflags:
- -X github.com/ozontech/file.d/buildinfo.Version={{.Version}}
nfpms:
-
maintainer: Vitkovskiy Vladimir <[email protected]>
formats:
- deb
- rpm
recommends:
- systemd
description: |-
file.d is a tool for building data pipelines:
read, process and output events.
homepage: https://ozontech.github.io/file.d/
vendor: Ozon Tech
bindir: /usr/bin
contents:
- src: ./releaser/config.yaml
dst: /etc/file.d/config.yaml
type: config
- src: ./releaser/file.d.service
dst: /etc/systemd/system/file.d.service