Skip to content

Commit 415658a

Browse files
goreleaser add version numver to archives
1 parent 8c0fbed commit 415658a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.goreleaser.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ archives:
7575
# this name template makes the OS and Arch compatible with the results of `uname`.
7676
name_template: >-
7777
{{- .Binary }}_
78+
{{- .Version }}_
7879
{{- title .Os }}_
7980
{{- if eq .Arch "amd64" }}x86_64
8081
{{- else if eq .Arch "386" }}i386
@@ -93,6 +94,7 @@ archives:
9394
# this name template makes the OS and Arch compatible with the results of `uname`.
9495
name_template: >-
9596
{{- .Binary }}_
97+
{{- .Version }}_
9698
{{- title .Os }}_
9799
{{- if eq .Arch "amd64" }}x86_64
98100
{{- else if eq .Arch "386" }}i386
@@ -111,6 +113,7 @@ archives:
111113
# this name template makes the OS and Arch compatible with the results of `uname`.
112114
name_template: >-
113115
{{- .Binary }}_
116+
{{- .Version }}_
114117
{{- title .Os }}_
115118
{{- if eq .Arch "amd64" }}x86_64
116119
{{- else if eq .Arch "386" }}i386

0 commit comments

Comments
 (0)