Skip to content

Commit

Permalink
Fix goreleaser deprecation (#783)
Browse files Browse the repository at this point in the history
* Fix goreleaser deprecation

* correction example syntax
  • Loading branch information
christopher-henderson authored Dec 16, 2023
1 parent f830602 commit d4e2de0
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions v3/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ builds:
archives:
-
wrap_in_directory: true
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
snapshot:
name_template: "{{ .Tag }}-next"
release:
Expand Down

0 comments on commit d4e2de0

Please sign in to comment.