Add arch to all fleetctl archives (#26424)

This commit is contained in:
Luke Heath 2025-02-18 12:44:54 -06:00 committed by GitHub
parent 1289b39a98
commit 311b0c8001
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,13 +99,13 @@ archives:
- id: fleetctl
builds:
- fleetctl
name_template: fleetctl_v{{.Version}}_{{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}{{- if eq .Os "linux" }}_{{.Arch}}{{ end }}
name_template: fleetctl_v{{.Version}}_{{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_{{.Arch}}
wrap_in_directory: true
- id: fleetctl-zip
builds:
- fleetctl
name_template: fleetctl_v{{.Version}}_{{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}{{- if eq .Os "linux" }}_{{.Arch}}{{ end }}
name_template: fleetctl_v{{.Version}}_{{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}_{{.Arch}}
format: zip
wrap_in_directory: true