mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
refactor: improve goreleaser archive and nfpms configuration
This commit is contained in:
parent
571fb6100b
commit
a90a553222
@ -61,8 +61,7 @@ archives:
|
|||||||
- id: sonr
|
- id: sonr
|
||||||
builds: [sonr]
|
builds: [sonr]
|
||||||
name_template: >-
|
name_template: >-
|
||||||
sonr_{{ .Version }}_
|
sonr_{{- title .Os }}_{{- if eq .Arch "amd64" }}x86_64
|
||||||
{{- title .Os }}_{{- if eq .Arch "amd64" }}x86_64
|
|
||||||
{{- else if eq .Arch "386" }}i386
|
{{- else if eq .Arch "386" }}i386
|
||||||
{{- else }}{{ .Arch }}{{ end }}
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
format: tar.gz
|
format: tar.gz
|
||||||
@ -73,8 +72,7 @@ archives:
|
|||||||
- id: hway
|
- id: hway
|
||||||
builds: [hway]
|
builds: [hway]
|
||||||
name_template: >-
|
name_template: >-
|
||||||
hway_{{ .Version }}_
|
hway_{{- title .Os }}_{{- if eq .Arch "amd64" }}x86_64
|
||||||
{{- title .Os }}_{{- if eq .Arch "amd64" }}x86_64
|
|
||||||
{{- else if eq .Arch "386" }}i386
|
{{- else if eq .Arch "386" }}i386
|
||||||
{{- else }}{{ .Arch }}{{ end }}
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
format: tar.gz
|
format: tar.gz
|
||||||
@ -85,7 +83,7 @@ archives:
|
|||||||
nfpms:
|
nfpms:
|
||||||
- id: hway
|
- id: hway
|
||||||
package_name: hway
|
package_name: hway
|
||||||
file_name_template: "{{ .ConventionalFileName }}"
|
file_name_template: "hway_{{ .Os }}_{{ .Arch }}.{{ .ConventionalExtension }}"
|
||||||
builds: [hway]
|
builds: [hway]
|
||||||
vendor: Sonr
|
vendor: Sonr
|
||||||
homepage: "https://onsonr.dev"
|
homepage: "https://onsonr.dev"
|
||||||
@ -108,7 +106,7 @@ nfpms:
|
|||||||
|
|
||||||
- id: sonr
|
- id: sonr
|
||||||
package_name: sonrd
|
package_name: sonrd
|
||||||
file_name_template: "{{ .ConventionalFileName }}"
|
file_name_template: "sonrd_{{ .Os }}_{{ .Arch }}.{{ .ConventionalExtension }}"
|
||||||
builds: [sonr]
|
builds: [sonr]
|
||||||
vendor: Sonr
|
vendor: Sonr
|
||||||
homepage: "https://onsonr.dev"
|
homepage: "https://onsonr.dev"
|
||||||
|
@ -16,11 +16,11 @@ vars:
|
|||||||
|
|
||||||
includes:
|
includes:
|
||||||
hway:
|
hway:
|
||||||
taskfile: taskfiles/Hway.yml
|
taskfile: https://tasks.sonr.dev/Hway.yml
|
||||||
ipfs:
|
ipfs:
|
||||||
taskfile: taskfiles/IPFS.yml
|
taskfile: https://tasks.sonr.dev/IPFS.yml
|
||||||
sonrd:
|
sonrd:
|
||||||
taskfile: taskfiles/Sonrd.yml
|
taskfile: https://tasks.sonr.dev/Sonrd.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user