-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
.goreleaser.yml
99 lines (94 loc) · 2.6 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
version: 2
before:
hooks:
- go mod download
- go generate ./cmd/...
builds:
- id: default
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
main: ./cmd/carapace
binary: carapace
tags:
- release
- id: termux
env:
- CGO_ENABLED=1
goos:
- android
goarch:
- amd64
- arm64
- arm
- "386"
main: ./cmd/carapace
binary: carapace
tags:
- release
gobinary: go-termux
archives:
- id: default
builds:
- default
name_template: 'carapace-bin_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
format_overrides:
- goos: windows
format: zip
- id: termux
builds:
- termux
name_template: 'carapace-bin_{{ .Version }}_termux_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
brews:
-
name: carapace
description: "multi-shell multi-command argument completer"
homepage: "https://github.com/carapace-sh/carapace-bin"
license: "MIT"
repository:
owner: rsteube
name: homebrew-tap
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
scoops:
-
description: "multi-shell multi-command argument completer"
homepage: "https://github.com/carapace-sh/carapace-bin"
license: "MIT"
repository:
owner: rsteube
name: scoop-bucket
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
aurs:
-
description: "multi-shell multi-command argument completer"
homepage: "https://github.com/carapace-sh/carapace-bin"
license: "MIT"
maintainers:
- rsteube <rsteube@users.noreply.github.com>
private_key: '{{ .Env.AUR_KEY }}'
git_url: 'ssh://aur@aur.archlinux.org/carapace-bin.git'
provides:
- carapace
conflicts:
- carapace
nfpms:
-
description: "multi-shell multi-command argument completer"
homepage: "https://github.com/carapace-sh/carapace-bin"
license: "MIT"
maintainer: rsteube <rsteube@users.noreply.github.com>
formats:
- apk
- deb
- rpm
- termux.deb
publishers:
- name: fury
cmd: "bash -c \"[[ {{.ArtifactPath}} =~ ^.*_(386|amd64|arm64).(deb|rpm)$ ]] && curl -F package=@{{abs .ArtifactPath}} https://$FURY_TOKEN@push.fury.io/rsteube/ || true\""
env:
- FURY_TOKEN={{ .Env.FURY_TOKEN }}