-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
51 lines (51 loc) · 1.16 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
---
builds:
- id: sentry-sendmail
binary: sendmail
main: ./cmd/sendmail
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- -s -w -X github.com/retailnext/sentry-sendmail.Version={{.Version}}
mod_timestamp: "{{ .CommitTimestamp }}"
nfpms:
- id: sentry-sendmail
formats:
- deb
homepage: "https://github.com/retailnext/sentry-sendmail"
license: "BSD-3-clause"
maintainer: "RetailNext <do-not-reply@retailnext.net>"
description: |-
Sendmail drop-in replacement that sends to Sentry instead of email.
section: mail
bindir: /usr/sbin
contents:
- src: config/sentry-sendmail.conf
dst: /etc/sentry-sendmail.conf
type: 'config|noreplace'
overrides:
deb:
conflicts:
- mail-transport-agent
replaces:
- mail-transport-agent
provides:
- mail-transport-agent
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^chore\(ci\):'
- '^chore\(deps\):'
- '^docs:'
- '^fix\(lint\):'
- '^test:'