-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
.goreleaser.yml
168 lines (165 loc) · 5.12 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
builds:
-
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- 386
- amd64
- arm
- arm64
archives:
-
rlcp: true
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
files:
- cw.bash
- cw.zsh
- LICENSE
- README.md
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
-
name: cw
tap:
owner: lucagrulla
name: homebrew-tap
commit_author:
name: lucagrulla
email: [email protected]
folder: Formula
homepage: "https://www.lucagrulla.com/cw"
description: "The best way to tail AWS Cloudwatch Logs from your terminal"
caveats: "In order to get cw completion,
[bash] you need to install `bash-completion` with brew.
OR
[zsh], add the following line to your ~/.zshrc:
source #{HOMEBREW_PREFIX}/share/zsh/site-functions/cw.zsh"
install: |
bin.install "cw"
bash_completion.install "cw.bash"
zsh_completion.install "cw.zsh"
scoop:
bucket:
owner: lucagrulla
name: cw-scoop-bucket
homepage: "https://www.lucagrulla.com/cw"
commit_author:
name: lucagrulla
email: [email protected]
description: "The best way to tail AWS Cloudwatch Logs from your terminal"
license: Apache-2.0
persist:
- "data"
- "config.toml"
nfpms:
-
id: cw
file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
homepage: https://www.lucagrulla.com/cw
description: The best way to tail AWS Cloudwatch Logs from your terminal
maintainer: Luca Grulla [email protected]
license: Apache2
vendor: cw
formats:
- rpm
# dependencies:
# - git
recommends:
- rpm
-
id: cw-tail
package_name: cw-tail # Use the package name "cw-tail" to avoid conflicts with https://launchpad.net/ubuntu/bionic/amd64/cw
replaces:
- cw (<< 3.3.0)
file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
homepage: https://www.lucagrulla.com/cw
description: The best way to tail AWS Cloudwatch Logs from your terminal
maintainer: Luca Grulla [email protected]
license: Apache2
vendor: cw
formats:
- deb
# dependencies:
# - git
snapcrafts:
-
name: cw-sh
name_template: '{{ .ProjectName }}-sh_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
summary: The best way to tail AWS Cloudwatch Logs from your terminal
description: |
The best way to tail AWS Cloudwatch Logs from your terminal
grade: stable
base: core18
confinement: strict
apps:
cw:
plugs: [network, dot-aws-config-credentials]
plugs:
network:
dot-aws-config-credentials:
interface: personal-files
read:
- $HOME/.aws/config
- $HOME/.aws/credentials
publish: true
dockers:
- image_templates: ["lucagrulla/{{ .ProjectName }}:{{ .Version }}-i386"]
goarch: 386
dockerfile: Dockerfile.release
build_flag_templates:
- --platform=linux/386
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://www.lucagrulla.com/cw
- --label=org.opencontainers.image.source=https://github.com/lucagrulla/cw
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=Apache-2.0
- image_templates: ["lucagrulla/{{ .ProjectName }}:{{ .Version }}-amd64"]
goarch: amd64
dockerfile: Dockerfile.release
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://www.lucagrulla.com/cw
- --label=org.opencontainers.image.source=https://github.com/lucagrulla/cw
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=Apache-2.0
- image_templates: ["lucagrulla/{{ .ProjectName }}:{{ .Version }}-arm64v8"]
goarch: arm64
dockerfile: Dockerfile.release
build_flag_templates:
- --platform=linux/arm64/v8
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://www.lucagrulla.com/cw
- --label=org.opencontainers.image.source=https://github.com/lucagrulla/cw
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=Apache-2.0
docker_manifests:
- name_template: "lucagrulla/{{ .ProjectName }}:{{ .Version }}"
image_templates:
- lucagrulla/{{ .ProjectName }}:{{ .Version }}-i386
- lucagrulla/{{ .ProjectName }}:{{ .Version }}-amd64
- lucagrulla/{{ .ProjectName }}:{{ .Version }}-arm64v8