Skip to content

Commit

Permalink
Adapt goreleaser.yml after "replacements" field deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
foot committed Jul 6, 2023
1 parent 097424b commit 54f8210
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ release:
prerelease: auto
archives:
- format: tar.gz
replacements:
amd64: x86_64
name_template: "gitops-{{.Os}}-{{.Arch}}"
name_template: >-
gitops-
{{- title .Os }}-
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
builds:
- <<: &build_defaults
binary: "gitops"
Expand Down

0 comments on commit 54f8210

Please sign in to comment.