Skip to content

Commit

Permalink
goreleaser: use name_template instead of the now-deprecated 'replacem…
Browse files Browse the repository at this point in the history
…ents'
  • Loading branch information
christophetd committed Jul 25, 2023
1 parent f43826a commit 3b12231
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ brews:
# Install shell completions
generate_completions_from_executable(bin/"stratus", "completion", shells: [:bash, :fish, :zsh], base_name: "stratus")
archives:
- 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 }}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 3b12231

Please sign in to comment.