Skip to content

Commit 34b871b

Browse files
authored
fixed release archive names (#414)
1 parent ad30d3d commit 34b871b

1 file changed

Lines changed: 6 additions & 24 deletions

File tree

goreleaser.yaml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -96,45 +96,27 @@ archives:
9696
- id: pipeleak-archive
9797
builds:
9898
- pipeleak
99-
format: tar.gz
100-
format_overrides:
101-
- goos: windows
102-
format: zip
99+
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
103100
- id: pipeleak-gitlab-archive
104101
builds:
105102
- pipeleak-gitlab
106-
format: tar.gz
107-
format_overrides:
108-
- goos: windows
109-
format: zip
103+
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
110104
- id: pipeleak-github-archive
111105
builds:
112106
- pipeleak-github
113-
format: tar.gz
114-
format_overrides:
115-
- goos: windows
116-
format: zip
107+
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
117108
- id: pipeleak-bitbucket-archive
118109
builds:
119110
- pipeleak-bitbucket
120-
format: tar.gz
121-
format_overrides:
122-
- goos: windows
123-
format: zip
111+
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
124112
- id: pipeleak-devops-archive
125113
builds:
126114
- pipeleak-devops
127-
format: tar.gz
128-
format_overrides:
129-
- goos: windows
130-
format: zip
115+
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
131116
- id: pipeleak-gitea-archive
132117
builds:
133118
- pipeleak-gitea
134-
format: tar.gz
135-
format_overrides:
136-
- goos: windows
137-
format: zip
119+
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
138120

139121
release:
140122
github:

0 commit comments

Comments
 (0)