forked from ConduitIO/conduit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
68 lines (67 loc) · 1.53 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
57
58
59
60
61
62
63
64
65
66
67
68
before:
hooks:
- make ui-dist
builds:
- main: ./cmd/conduit/main.go
id: conduit
binary: conduit
goos:
- darwin
- linux
- windows
env:
- CGO_ENABLED=0
tags:
- ui
ldflags:
- "-s -w -X 'github.com/conduitio/conduit/pkg/conduit.version={{ .Tag }}'"
archives:
- builds:
- conduit
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-snapshot"
changelog:
sort: asc
use: github
filters:
exclude:
- '^docs:'
- '^test:'
- '^npm:'
- '^go.mod:'
- '^.github:'
- Merge branch
release:
prerelease: auto
mode: append
footer: |
## Docker images
To pull the image, you can execute the following command:
```
docker pull ghcr.io/conduitio/conduit:{{ .Tag }}
```
nfpms:
- license: Apache-2.0
maintainer: Conduit Developers <[email protected]>
homepage: https://github.com/ConduitIO/conduit
description: "Conduit streams data between data stores. Kafka Connect replacement. No JVM required."
section: utils
formats:
- rpm
- deb
file_name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}