-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
121 lines (109 loc) · 2.63 KB
/
.goreleaser.yaml
File metadata and controls
121 lines (109 loc) · 2.63 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
version: 2
project_name: fizzy
before:
hooks:
- go mod tidy
builds:
- id: fizzy
main: ./cmd/fizzy
binary: fizzy
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
- freebsd
- openbsd
goarch:
- amd64
- arm64
ldflags:
- -s -w -X main.version={{.Version}}
archives:
- id: default
ids: [fizzy]
formats: [tar.gz]
format_overrides:
- goos: windows
formats: [zip]
files:
- MIT-LICENSE
- README.md
- completions/*
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: checksums.txt
algorithm: sha256
sboms:
- artifacts: archive
cmd: syft
signs:
- cmd: cosign
artifacts: checksum
output: true
args:
- sign-blob
- --yes
- --output-certificate=${certificate}
- --output-signature=${signature}
- ${artifact}
notarize:
macos:
- enabled: true
ids: [fizzy]
sign:
certificate: "{{.Env.MACOS_SIGN_P12}}"
password: "{{.Env.MACOS_SIGN_PASSWORD}}"
notarize:
issuer_id: "{{.Env.MACOS_NOTARY_ISSUER_ID}}"
key_id: "{{.Env.MACOS_NOTARY_KEY_ID}}"
key: "{{.Env.MACOS_NOTARY_KEY}}"
wait: true
timeout: 20m
changelog:
use: github-native
homebrew_casks:
- name: fizzy
ids: [default]
repository:
owner: basecamp
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Casks
homepage: "https://github.com/basecamp/fizzy-cli"
description: "CLI for managing Fizzy boards, cards, and tasks"
license: "MIT"
completions:
bash: "completions/fizzy.bash"
zsh: "completions/fizzy.zsh"
fish: "completions/fizzy.fish"
scoops:
- name: fizzy
ids: [default]
repository:
owner: basecamp
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
homepage: "https://github.com/basecamp/fizzy-cli"
description: "CLI for managing Fizzy boards, cards, and tasks"
license: MIT
nfpms:
- id: packages
package_name: fizzy-cli
ids: [fizzy]
vendor: 37signals
homepage: "https://github.com/basecamp/fizzy-cli"
maintainer: "37signals <support@37signals.com>"
description: "CLI for managing Fizzy boards, cards, and tasks"
license: MIT
formats:
- deb
- rpm
contents:
- src: completions/fizzy.bash
dst: /usr/share/bash-completion/completions/fizzy
- src: completions/fizzy.zsh
dst: /usr/share/zsh/vendor-completions/_fizzy
- src: completions/fizzy.fish
dst: /usr/share/fish/vendor_completions.d/fizzy.fish