Skip to content

Commit c2243d2

Browse files
committed
Lowercase the release archive name
1 parent 7901348 commit c2243d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.goreleaser.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
77
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
88

9+
# TODO: rename file outputs for release assets to be lowercase not capital
910
version: 1
1011

1112
before:
@@ -27,9 +28,10 @@ builds:
2728
archives:
2829
- format: tar.gz
2930
# this name template makes the OS and Arch compatible with the results of `uname`.
31+
# Note removal of "title" because it uppercases the first letter
3032
name_template: >-
3133
{{ .ProjectName }}_
32-
{{- title .Os }}_
34+
{{- .Os }}_
3335
{{- if eq .Arch "amd64" }}x86_64
3436
{{- else if eq .Arch "386" }}i386
3537
{{- else }}{{ .Arch }}{{ end }}

0 commit comments

Comments
 (0)