Skip to content

Commit

Permalink
CI: fix goreleaser.yaml for the deprecated replacement field (#1546)
Browse files Browse the repository at this point in the history
Signed-off-by: saintube <saintube@foxmail.com>
  • Loading branch information
saintube committed Aug 15, 2023
1 parent e67ac5c commit 5c4340f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,16 @@ archives:
format: binary
builds:
- koord-runtime-proxy
replacements:
amd64: x86_64
# Default template: https://goreleaser.com/customization/archive/
name_template: >-
{{ .Binary }}_
{{ .Version }}_
{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_
{{ . }}{{ end }}
{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 5c4340f

Please sign in to comment.