Skip to content

Commit

Permalink
Make sure to rename amd64 to x86_64 (#3721)
Browse files Browse the repository at this point in the history
  • Loading branch information
billyb2 committed Jul 9, 2024
1 parent 5748cc4 commit 77c8856
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .goreleaser.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,37 @@ builds:
archives:
- id: linux
name_template: >-
{{ .ProjectName }}_{{ .Version }}_Linux_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}
{{ .ProjectName }}_{{ .Version}}_
{{- if eq .Os "darwin" }}macOS
{{- else if eq .Os "linux" }}Linux
{{- else }}{{ .Os }}{{- end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{- end }}
builds: [linux]
files: [only-the-binary*]
wrap_in_directory: false
format: tar.gz

- id: macos
name_template: >-
{{ .ProjectName }}_{{ .Version }}_macOS_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}
{{ .ProjectName }}_{{ .Version}}_
{{- if eq .Os "darwin" }}macOS
{{- else if eq .Os "linux" }}Linux
{{- else }}{{ .Os }}{{- end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{- end }}
builds: [macos]
files: [only-the-binary*]
wrap_in_directory: false
format: tar.gz

- id: windows
name_template: >-
{{ .ProjectName }}_{{ .Version }}_Windows_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}
{{ .ProjectName }}_{{ .Version}}_
{{- if eq .Os "windows" }}Windows
{{- else }}{{ .Os }}{{- end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{- end }}
builds: [windows]
files: [wintun.dll]
wrap_in_directory: false
Expand Down

0 comments on commit 77c8856

Please sign in to comment.