Skip to content

Commit 79e6fa4

Browse files
committed
change format
1 parent b734392 commit 79e6fa4

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.goreleaser.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,27 @@ builds:
1212
- -w
1313
- -X github.com/hatappi/gomodoro/cmd.version={{.Version}}
1414
- -X github.com/hatappi/gomodoro/cmd.commit={{.Commit}}
15+
1516
archives:
16-
- name_template: >-
17-
{{- .ProjectName }}_
18-
{{- title .Os }}_
19-
{{- if eq .Arch "amd64" }}x86_64
20-
{{- else if eq .Arch "386" }}i386
21-
{{- else }}{{ .Arch }}{{ end }}
22-
{{- if .Arm }}v{{ .Arm }}{{ end -}}
17+
- format: tar.gz
18+
# this name template makes the OS and Arch compatible with the results of `uname`.
19+
name_template: >-
20+
{{ .ProjectName }}_
21+
{{- title .Os }}_
22+
{{- if eq .Arch "amd64" }}x86_64
23+
{{- else if eq .Arch "386" }}i386
24+
{{- else }}{{ .Arch }}{{ end }}
25+
{{- if .Arm }}v{{ .Arm }}{{ end }}
26+
2327
checksum:
2428
name_template: 'checksums.txt'
29+
2530
snapshot:
2631
name_template: "{{ .Tag }}-next"
32+
2733
changelog:
2834
disable: true
35+
2936
release:
3037
github:
3138
owner: hatappi

0 commit comments

Comments
 (0)