Skip to content

Commit

Permalink
chore: fixed go-releaser due to deprecated feature (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
benPearce1 authored Jul 27, 2023
1 parent c99c580 commit eafa1e4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ builds:
binary: "{{ .ProjectName }}"

archives:
- replacements:
darwin: macOS
format_overrides:
- format_overrides:
- goos: windows
format: zip
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
name_template: >-
{{ .ProjectName }}_
{{ .Version }}_
{{- if eq .Os "darwin}}macOS
{{- else }}{{ .Os }}_
{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}
nfpms:
- license: Apache 2.0
Expand Down

0 comments on commit eafa1e4

Please sign in to comment.