Skip to content

Commit

Permalink
use amd64 for 64 bit executables
Browse files Browse the repository at this point in the history
  • Loading branch information
AvicennaJr committed Oct 21, 2023
1 parent ea70000 commit c17fd0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ builds:
- darwin
- android
ldflags:
- '-s -w'
- "-s -w"
ignore:
- goos: android
goarch: 386
Expand All @@ -23,7 +23,7 @@ archives:
name_template: >-
nuru_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- if eq .Arch "amd64" }}amd64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
Expand All @@ -44,4 +44,4 @@ nfpms:
description: "Nuru is a programming language built from the ground up"
formats:
- deb
file_name_template: "{{ .ProjectName }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
file_name_template: "{{ .ProjectName }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"

0 comments on commit c17fd0c

Please sign in to comment.