Skip to content

Commit

Permalink
feat(goreleaser): Add completions to APT and RPM packages
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Aug 16, 2023
1 parent 3d0d8bd commit 403cc23
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,23 @@ nfpms:
homepage: https://github.com/clevyr/kubedb
description: Painlessly work with Kubernetes databases
license: GPL-3.0
maintainer: Gabe Cook <[email protected]>
formats:
- deb
- rpm
maintainer: Gabe Cook <[email protected]>
contents:
- src: ./completions/{{ .ProjectName }}.bash
dst: /usr/share/bash-completion/completions/{{ .ProjectName }}
file_info:
mode: 0644
- src: ./completions/{{ .ProjectName }}.fish
dst: /usr/share/fish/vendor_completions.d/{{ .ProjectName }}.fish
file_info:
mode: 0644
- src: ./completions/{{ .ProjectName }}.zsh
dst: /usr/share/zsh/vendor-completions/_{{ .ProjectName }}
file_info:
mode: 0644
publishers:
- name: fury.io
ids:
Expand Down

0 comments on commit 403cc23

Please sign in to comment.