Skip to content

Commit

Permalink
Устаревший replacements реализован через name_template
Browse files Browse the repository at this point in the history
  • Loading branch information
igostv committed Nov 9, 2023
1 parent 76453ed commit 72a5d43
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ dockers:
- "--label=homepage=https://github.com/v8platform/oneget"
- "--label=maintainer=Ruslan Zhdanov"
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 72a5d43

Please sign in to comment.