-
Notifications
You must be signed in to change notification settings - Fork 360
/
.goreleaser.yml
85 lines (85 loc) · 1.8 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
project_name: lakeFS
before:
hooks:
- go mod download
- make gen VERSION="{{.Version}}"
release:
disable: false
prerelease: true
ids: [default]
builds:
- id: lakefs
main: ./cmd/lakefs
binary: lakefs
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/treeverse/lakefs/pkg/version.Version={{.Version}}
goarch:
- amd64
- arm64
goos:
- darwin
- linux
- windows
- id: lakectl
main: ./cmd/lakectl
binary: lakectl
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/treeverse/lakefs/pkg/version.Version={{.Version}}
goarch:
- amd64
- arm64
goos:
- darwin
- linux
- windows
archives:
- id: default
rlcp: true
name_template: '{{ .ProjectName }}_{{ .Version }}_{{- title .Os }}_{{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
builds:
- lakefs
- lakectl
- id: lakectl
rlcp: true
format_overrides:
- goos: windows
format: zip
format: binary
name_template: '{{- title .Os }}_{{- if eq .Arch "amd64" }}x86_64{{- else if eq .Arch "386" }}i386{{- else }}{{ .Arch }}{{ end }}/lakectl'
builds:
- lakectl
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
blobs:
- provider: s3
region: us-east-1
bucket: treeverse-clients-us-east
folder: "lakectl/{{.Version}}"
ids:
- lakectl
brews:
- name: lakefs
homepage: https://github.com/treeverse/lakefs
description: "lakeFS is an open-source tool that transforms your object storage into a Git-like repository. It enables you to manage your data lake the way you manage your code."
ids:
- default
tap:
owner: treeverse
name: homebrew-lakefs
token: "{{ .Env.TAP_GITHUB_TOKEN }}"