mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-02-26 08:19:11 +00:00
upd goreleaser config
This commit is contained in:
parent
5aa833e2ca
commit
89d27f3642
@ -40,10 +40,28 @@ builds:
|
|||||||
- amd64
|
- amd64
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- formats: ['tar.gz']
|
- id: 'x32-cli-archive'
|
||||||
|
builds: ['x32-cli']
|
||||||
|
formats: ['tar.gz']
|
||||||
# this name template makes the OS and Arch compatible with the results of `uname`.
|
# this name template makes the OS and Arch compatible with the results of `uname`.
|
||||||
name_template: >-
|
name_template: >-
|
||||||
{{ .ProjectName }}_
|
x32-cli_
|
||||||
|
{{- title .Os }}_
|
||||||
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
|
{{- else if eq .Arch "386" }}i386
|
||||||
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
||||||
|
# use zip for windows archives
|
||||||
|
format_overrides:
|
||||||
|
- goos: windows
|
||||||
|
formats: ['zip']
|
||||||
|
|
||||||
|
- id: 'xair-cli-archive'
|
||||||
|
builds: ['xair-cli']
|
||||||
|
formats: ['tar.gz']
|
||||||
|
# this name template makes the OS and Arch compatible with the results of `uname`.
|
||||||
|
name_template: >-
|
||||||
|
xair-cli_
|
||||||
{{- title .Os }}_
|
{{- title .Os }}_
|
||||||
{{- if eq .Arch "amd64" }}x86_64
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
{{- else if eq .Arch "386" }}i386
|
{{- else if eq .Arch "386" }}i386
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user