Skip to content

Commit 9974c3c

Browse files
committed
update sgoctl goreleaser template and binary template
1 parent e20d563 commit 9974c3c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ archives:
2121
- formats: [binary]
2222
name_template: >-
2323
{{ .ProjectName }}_
24-
{{- title .Os }}_
25-
{{- if eq .Arch "amd64" }}x86_64
24+
{{- .Os }}_
25+
{{- if eq .Arch "amd64" }}amd64
2626
{{- else if eq .Arch "386" }}i386
2727
{{- else }}{{ .Arch }}{{ end }}
2828
{{- if .Arm }}v{{ .Arm }}{{ end }}

cmd/tpl/deployment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ archives:
145145
- formats: [binary]
146146
name_template: >-
147147
{{ .ProjectName }}_
148-
{{- title .Os }}_
148+
{{- .Os }}_
149149
{{- if eq .Arch "amd64" }}x86_64
150150
{{- else if eq .Arch "386" }}i386
151151
{{- else }}{{ .Arch }}{{ end }}

0 commit comments

Comments
 (0)