Skip to content

Commit

Permalink
fix(typo): miss nfpms
Browse files Browse the repository at this point in the history
  • Loading branch information
ysicing committed Feb 26, 2024
1 parent 5e10f4b commit 6985fcb
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,93 @@ checksum:
snapshot:
name_template: "{{ .Version }}-snapshot-{{ .ShortCommit }}"

nfpms:
- file_name_template: 'qcadmin_{{ .Tag }}_{{ .Os }}_{{ .Arch }}'
builds:
- qcadmin
package_name: qcadmin
priority: optional
vendor: https://github.com/easysoft/quickon_cli
homepage: https://www.qucheng.com
version_metadata: git
description: |-
Cloud Native application delivery platform cli
maintainer: easysoft
license: AGPL-3.0
formats:
- deb
- rpm
bindir: /usr/bin
section: utils
contents:
- src: ./completions/q.bash
dst: /usr/share/bash-completion/completions/q
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./completions/q.fish
dst: /usr/share/fish/completions/q.fish
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./completions/q.zsh
dst: /usr/share/zsh/vendor-completions/_q
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./manpages/q.1.gz
dst: /usr/share/man/man1/q.1.gz
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./LICENSE.md
dst: /usr/share/doc/q/copyright
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./completions/qcadmin.bash
dst: /usr/share/bash-completion/completions/qcadmin
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./completions/qcadmin.fish
dst: /usr/share/fish/completions/qcadmin.fish
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./completions/qcadmin.zsh
dst: /usr/share/zsh/vendor-completions/_qcadmin
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./manpages/qcadmin.1.gz
dst: /usr/share/man/man1/qcadmin.1.gz
file_info:
mode: 0644
owner: notRoot
group: notRoot
- src: ./LICENSE.md
dst: /usr/share/doc/qcadmin/copyright
file_info:
mode: 0644
owner: notRoot
group: notRoot
- dst: /root/.qc
type: dir
scripts:
preinstall: ./hack/packaging/preinstall.sh
postinstall: ./hack/packaging/postinstall.sh
preremove: ./hack/packaging/preremove.sh
postremove: ./hack/packaging/postremove.sh

changelog:
sort: asc
filters:
Expand Down

0 comments on commit 6985fcb

Please sign in to comment.