-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yaml
81 lines (81 loc) · 2.09 KB
/
.goreleaser.yaml
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
project_name: webhookdb
builds:
- id: distrib
ldflags:
- -s -w -X github.com/webhookdb/webhookdb-cli/config.Version={{.Version}} -X github.com/webhookdb/webhookdb-cli/config.BuildSha={{.Commit}} -X github.com/webhookdb/webhookdb-cli/config.BuildTime={{.Date}}
binary: webhookdb
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
- id: wasm
ldflags:
- -s -w -X github.com/webhookdb/webhookdb-cli/config.Version={{.Version}} -X github.com/webhookdb/webhookdb-cli/config.BuildSha={{.Commit}} -X github.com/webhookdb/webhookdb-cli/config.BuildTime={{.Date}}
binary: webhookdb
targets:
- js_wasm
archives:
- id: distrib
builds:
- distrib
files:
- match-nothing-to-keep-archive-binary-only*
name_template: >-
{{ .ProjectName }}_{{ .Version }}_
{{- if eq .Os "darwin" }}macos
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
- id: wasm
builds:
- wasm
format: binary
checksum:
name_template: 'checksums.txt'
ids:
- distrib
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
signs:
- artifacts: checksum
release:
ids:
- distrib
draft: true
blobs:
- provider: s3
ids:
- wasm
bucket: static.webhookdb.com
region: us-west-2
folder: "webhookdb-cli/{{.Version}}"
brews:
- repository:
owner: webhookdb
name: homebrew-webhookdb
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
branch: next
ids:
- distrib
commit_author:
name: webhookdbreleaser
email: [email protected]
description: "Query and store any API in real-time with SQL. More at https://webhookdb.com"
homepage: "https://webhookdb.com"
caveats: "❤ Thanks for installing the WebhookDB CLI! Run `webhookdb auth login` to get register or sign in."