Skip to content

Commit a0df050

Browse files
committed
Fix goreleaser config
Signed-off-by: Maksym Pavlenko <[email protected]>
1 parent 312900c commit a0df050

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
with:
5656
version: latest
57-
args: release --clean
57+
args: release --clean

.goreleaser.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ builds:
2020
- arm64
2121

2222
archives:
23-
- replacements:
24-
darwin: Darwin
25-
linux: Linux
26-
windows: Windows
27-
386: i386
28-
amd64: x86_64
23+
- id: arc
24+
name_template: >-
25+
{{- .ProjectName }}_{{.Version}}_
26+
{{- title .Os }}_
27+
{{- if eq .Arch "amd64" }}x86_64
28+
{{- else if eq .Arch "386" }}i386
29+
{{- else }}{{ .Arch }}{{ end }}
30+
{{- if .Arm }}v{{ .Arm }}{{ end -}}
2931
format_overrides:
3032
- goos: windows
3133
format: zip

0 commit comments

Comments
 (0)