-
Notifications
You must be signed in to change notification settings - Fork 47
/
.goreleaser.yml
101 lines (93 loc) · 3.86 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: 2
before:
hooks:
- make ui-dist
builds:
- main: ./cmd/conduit/main.go
id: conduit
binary: conduit
goos:
- darwin
- linux
- windows
ignore:
- goos: windows
goarch: "386"
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 }}
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-snapshot"
changelog:
sort: asc
use: github
filters:
exclude:
- '^docs:'
- '^test:'
- '^npm:'
- '^go.mod:'
- '^.github:'
- '^docker:'
- Merge branch
release:
prerelease: auto
mode: append
footer: |
## Release Artifacts
### OSX Darwin
- 📦 [conduit_{{ .Version }}_Darwin_arm64.tar.gz](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Darwin_arm64.tar.gz)
- 📦 [conduit_{{ .Version }}_Darwin_x86_64.tar.gz](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Darwin_x86_64.tar.gz)
### Linux
- 📦 [conduit_{{ .Version }}_Linux_arm64.deb](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Linux_arm64.deb)
- 📦 [conduit_{{ .Version }}_Linux_arm64.rpm](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Linux_arm64.rpm)
- 📦 [conduit_{{ .Version }}_Linux_arm64.tar.gz](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Linux_arm64.tar.gz)
- 📦 [conduit_{{ .Version }}_Linux_i386.deb](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Linux_i386.deb)
- 📦 [conduit_{{ .Version }}_Linux_i386.rpm](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Linux_i386.rpm)
- 📦 [conduit_{{ .Version }}_Linux_i386.tar.gz](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Linux_i386.tar.gz)
- 📦 [conduit_{{ .Version }}_Linux_x86_64.deb](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Linux_x86_64.deb)
- 📦 [conduit_{{ .Version }}_Linux_x86_64.rpm](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Linux_x86_64.rpm)
- 📦 [conduit_{{ .Version }}_Linux_x86_64.tar.gz](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Linux_x86_64.tar.gz)
### Windows
- 📦 [conduit_{{ .Version }}_Windows_arm64.zip](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Windows_arm64.zip)
- 📦 [conduit_{{ .Version }}_Windows_x86_64.zip](https://conduit.gateway.scarf.sh/conduit/download/{{ .Tag }}/conduit_{{ .Version }}_Windows_x86_64.zip)
## Docker images
To pull the image, you can execute the following command:
```
docker pull conduit.docker.scarf.sh/conduitio/conduit:{{ .Tag }}
```
![conduit-release-view](https://static.scarf.sh/a.png?x-pxid=3df89eef-1623-4cd5-9dbc-a6b36588a0eb)
nfpms:
- license: Apache-2.0
maintainer: Conduit Developers <[email protected]>
homepage: https://conduit.io/
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 }}