-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
78 lines (74 loc) · 1.96 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
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
main: ./cmd/carapace-bridge
binary: carapace-bridge
tags:
- release
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
-
name: carapace-bridge
description: "completion bridge"
homepage: "https://github.com/carapace-sh/carapace-bridge"
license: "MIT"
tap:
owner: rsteube
name: homebrew-tap
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
scoop:
description: "completion bridge"
homepage: "https://github.com/carapace-sh/carapace-bridge"
license: "MIT"
bucket:
owner: rsteube
name: scoop-bucket
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
aurs:
-
description: "completion bridge"
homepage: "https://github.com/carapace-sh/carapace-bridge"
license: "MIT"
maintainers:
- rsteube <rsteube@users.noreply.github.com>
private_key: '{{ .Env.AUR_KEY }}'
git_url: 'ssh://aur@aur.archlinux.org/carapace-bridge-bin.git'
nfpms:
-
description: "completion bridge"
homepage: "https://github.com/carapace-sh/carapace-bridge"
license: "MIT"
maintainer: rsteube <rsteube@users.noreply.github.com>
formats:
- apk
- deb
- rpm
- termux.deb
publishers:
- name: fury
cmd: "bash -c \"[[ {{.ArtifactPath}} =~ ^.*.(deb|rpm)$ ]] && curl -F package=@{{abs .ArtifactPath}} https://$FURY_TOKEN@push.fury.io/rsteube/ || true\""
env:
- FURY_TOKEN={{ .Env.FURY_TOKEN }}