Add architecture to fleetctl archive for linux (#26421)

This commit is contained in:
Luke Heath 2025-02-18 12:33:33 -06:00 committed by GitHub
parent 7f4292863d
commit 1289b39a98
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 }}
name_template: fleetctl_v{{.Version}}_{{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}{{- if eq .Os "linux" }}_{{.Arch}}{{ end }}
wrap_in_directory: true
- id: fleetctl-zip
builds:
- fleetctl
name_template: fleetctl_v{{.Version}}_{{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}
name_template: fleetctl_v{{.Version}}_{{- if eq .Os "darwin" }}macos{{- else }}{{ .Os }}{{ end }}{{- if eq .Os "linux" }}_{{.Arch}}{{ end }}
format: zip
wrap_in_directory: true