@@ -169,3 +169,137 @@ brews:
169
169
# post_install: |
170
170
# etc.install "app-config.conf"
171
171
# ...
172
+ #
173
+ # .goreleaser.yaml
174
+ #
175
+ aurs :
176
+ -
177
+ # The package name.
178
+ #
179
+ # Defaults to the Project Name with a -bin suffix.
180
+ #
181
+ # Note that since this integration does not create a PKGBUILD to build from
182
+ # source, per Arch's guidelines.
183
+ # That said, GoReleaser will enforce a `-bin` suffix if its not present.
184
+ name : kaf-bin
185
+
186
+ # Your app's homepage.
187
+ # Default is empty.
188
+ # homepage: "https://example.com/"
189
+
190
+ # Template of your app's description.
191
+ # Default is empty.
192
+ description : " Kafka CLI inspired by kubectl & docker"
193
+
194
+ # The maintainers of the package.
195
+ # Defaults to empty.
196
+ maintainers :
197
+ - ' Johannes Bruederl <johannes.bruederl@gmail.com>'
198
+
199
+ # The contributors of the package.
200
+ # Defaults to empty.
201
+ contributors :
202
+ - ' Michał Lisowski <lisu@riseup.net>'
203
+
204
+ # SPDX identifier of your app's license.
205
+ # Default is empty.
206
+ license : " MIT"
207
+
208
+ # The SSH private key that should be used to commit to the Git repository.
209
+ # This can either be a path or the key contents.
210
+ #
211
+ # WARNING: do not expose your private key in the config file!
212
+ private_key : ' {{ .Env.AUR_KEY }}'
213
+
214
+ # The AUR Git URL for this package.
215
+ # Defaults to empty.
216
+ git_url : ' ssh://aur@aur.archlinux.org/kaf-bin.git'
217
+
218
+ # Setting this will prevent goreleaser to actually try to commit the updated
219
+ # formula - instead, the formula file will be stored on the dist folder only,
220
+ # leaving the responsibility of publishing it to the user.
221
+ #
222
+ # If set to auto, the release will not be uploaded to the homebrew tap
223
+ # in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1.
224
+ #
225
+ # Default is false.
226
+ # skip_upload: true
227
+
228
+ # List of additional packages that the software provides the features of.
229
+ #
230
+ # Defaults to the project name.
231
+ provides :
232
+ - kaf-bin
233
+
234
+ # List of packages that conflict with, or cause problems with the package.
235
+ #
236
+ # Defaults to the project name.
237
+ conflicts :
238
+ - kaf-bin
239
+ - kaf
240
+
241
+ # List of packages that must be installed to install this.
242
+ #
243
+ # Defaults to empty.
244
+ # depends:
245
+ # - curl
246
+
247
+ # List of packages that are not needed for the software to function,
248
+ # but provide additional features.
249
+ #
250
+ # Must be in the format `package: short description of the extra functionality`.
251
+ #
252
+ # Defaults to empty.
253
+ # optdepends:
254
+ # - 'wget: for downloading things'
255
+
256
+ # Custom package instructions.
257
+ #
258
+ # Defaults to `install -Dm755 "./PROJECT_NAME" "${pkgdir}/usr/bin/PROJECT_NAME",
259
+ # which is not always correct.
260
+ #
261
+ # We recommend you override this, installing the binary, license and
262
+ # everything else your package needs.
263
+ package : |-
264
+ # bin
265
+ install -Dm755 "./kaf" "${pkgdir}/usr/bin/kaf"
266
+
267
+ # completions
268
+ # bash
269
+ mkdir -p "${pkgdir}/etc/bash_completion.d"
270
+ ./kaf completion bash > "${pkgdir}/etc/bash_completion.d/kaf"
271
+
272
+ # zsh
273
+ mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
274
+ ./kaf completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_kaf"
275
+
276
+ # Fish
277
+ mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d"
278
+ ./kaf completion fish > ${pkgdir}/usr/share/fish/vendor_completions.d/kaf.fish
279
+
280
+ # Git author used to commit to the repository.
281
+ # Defaults are shown below.
282
+ commit_author :
283
+ name : Johannes Bruederl
284
+ email : johannes.bruederl@gmail.com
285
+
286
+ # Commit message template.
287
+ # Defaults to `Update to {{ .Tag }}`.
288
+ commit_msg_template : " pkgbuild updates"
289
+
290
+ # If you build for multiple GOAMD64 versions, you may use this to choose which one to use.
291
+ # Defaults to `v1`.
292
+ # goamd64: v2
293
+
294
+ # The value to be passed to `GIT_SSH_COMMAND`.
295
+ # This is mainly used to specify the SSH private key used to pull/push to
296
+ # the Git URL.
297
+ #
298
+ # Defaults to `ssh -i {{ .KeyPath }} -o StrictHostKeyChecking=accept-new -F /dev/null`.
299
+ # git_ssh_command: 'ssh -i {{ .Env.KEY }} -o SomeOption=yes'
300
+
301
+ # Template for the url which is determined by the given Token
302
+ # (github, gitlab or gitea).
303
+ #
304
+ # Default depends on the client.
305
+ # url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}"
0 commit comments