Skip to content

Commit

Permalink
Remove deprecated archives.replacements config node
Browse files Browse the repository at this point in the history
  • Loading branch information
vittorius committed Jul 11, 2024
1 parent 4dbd6f9 commit b211a82
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
version: 2
builds:
- id: "fakes3server-build"
dir: vendor/github.com/johannesboyne/gofakes3/cmd/gofakes3
Expand All @@ -17,13 +18,14 @@ archives:
- id: fakes3server-archive
builds:
- fakes3server-build
name_template: "fakes3server_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
name_template: >-
fakes3server_{{ .Version }}_
{{- if eq .Os "darwin" }}Darwin
{{- else if eq .Os "linux" }}Linux
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit b211a82

Please sign in to comment.