Skip to content

Commit 0cca186

Browse files
committed
Fix deprecated GoReleaser feature
1 parent 0313561 commit 0cca186

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.goreleaser.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ builds:
1313
- arm64
1414
main: ./cmd/prunner
1515
archives:
16-
- replacements:
17-
darwin: Darwin
18-
linux: Linux
19-
windows: Windows
20-
386: i386
21-
amd64: x86_64
16+
- name_template: >-
17+
{{ .ProjectName }}_
18+
{{ .Version }}_
19+
{{- title .Os }}_
20+
{{- if eq .Arch "amd64" }}x86_64
21+
{{- else if eq .Arch "386" }}i386
22+
{{- else }}{{ .Arch }}{{ end }}
2223
dockers:
2324
- image_templates:
2425
- ghcr.io/flowpack/{{ .ProjectName }}:{{ .Version }}-amd64

0 commit comments

Comments
 (0)