Skip to content

Commit c17fd0c

Browse files
committed
use amd64 for 64 bit executables
1 parent ea70000 commit c17fd0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.goreleaser.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ builds:
1313
- darwin
1414
- android
1515
ldflags:
16-
- '-s -w'
16+
- "-s -w"
1717
ignore:
1818
- goos: android
1919
goarch: 386
@@ -23,7 +23,7 @@ archives:
2323
name_template: >-
2424
nuru_
2525
{{- title .Os }}_
26-
{{- if eq .Arch "amd64" }}x86_64
26+
{{- if eq .Arch "amd64" }}amd64
2727
{{- else if eq .Arch "386" }}i386
2828
{{- else }}{{ .Arch }}{{ end }}
2929
{{- if .Arm }}v{{ .Arm }}{{ end }}
@@ -44,4 +44,4 @@ nfpms:
4444
description: "Nuru is a programming language built from the ground up"
4545
formats:
4646
- deb
47-
file_name_template: "{{ .ProjectName }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
47+
file_name_template: "{{ .ProjectName }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"

0 commit comments

Comments
 (0)