Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fix usage of archive replacements (#586)
Browse files Browse the repository at this point in the history
Signed-off-by: eduardo apolinario <eapolinario@users.noreply.github.com>
Co-authored-by: eduardo apolinario <eapolinario@users.noreply.github.com>
  • Loading branch information
eapolinario and eapolinario committed Jul 5, 2023
1 parent 357bf09 commit 206013a
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,23 @@ builds:
archives:
- id: kubectl-flyte-archive
name_template: |-
kubectl-flyte_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
kubectl-flyte_{{ .Tag }}_{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
builds:
- kubectl-flyte
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
- id: flytepropeller-archive
name_template: |-
flytepropeller_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
flytepropeller_{{ .Tag }}_{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
builds:
- flytepropeller
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 206013a

Please sign in to comment.