Skip to content

Commit

Permalink
remove deprecated property from goreleaser configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed Nov 2, 2023
1 parent a202f9a commit 090a28d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 1
release:
github:
owner: paskal
Expand All @@ -21,10 +22,15 @@ builds:

archives:
- format: tar.gz
replacements:
386: i386
amd64: x86_64
darwin: macos
name_template: >-
{{- .ProjectName }}_
{{.Version}}_
{{- if eq .Os "darwin" }}macos
{{- else }}{{ title .Os }}{{ end }}
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 090a28d

Please sign in to comment.