ci: add rpm and deb support in goreleaser
Signed-off-by: Guoguo <i@qwq.trade>
This commit is contained in:
parent
43611e2c4e
commit
974337f4ab
1 changed files with 20 additions and 0 deletions
|
|
@ -66,6 +66,26 @@ archives:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
formats: [zip]
|
formats: [zip]
|
||||||
|
|
||||||
|
nfpms:
|
||||||
|
- id: picoclaw
|
||||||
|
package_name: picoclaw
|
||||||
|
file_name_template: >-
|
||||||
|
{{ .PackageName }}_
|
||||||
|
{{- .Version }}_
|
||||||
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
|
{{- else if eq .Arch "arm64" }}aarch64
|
||||||
|
{{- else if eq .Arch "arm" }}armv{{ .Arm }}
|
||||||
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
|
vendor: picoclaw
|
||||||
|
homepage: https://github.com/{{ .Env.GITHUB_REPOSITORY_OWNER }}/picoclaw
|
||||||
|
maintainer: picoclaw contributors
|
||||||
|
description: picoclaw - a tool for managing and running tasks
|
||||||
|
license: MIT
|
||||||
|
formats:
|
||||||
|
- rpm
|
||||||
|
- deb
|
||||||
|
bindir: /usr/bin
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
filters:
|
filters:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue