Skip to content

Commit

Permalink
fix(build): update goreleaser to remove deprecated field
Browse files Browse the repository at this point in the history
  • Loading branch information
particledecay committed Nov 17, 2023
1 parent 840bc06 commit 8404617
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ builds:
ldflags:
- -s -w -X github.com/particledecay/kconf/build.Version={{ .Version }} -X github.com/particledecay/kconf/build.Commit={{ .ShortCommit }} -X github.com/particledecay/kconf/build.Date={{ .Date }}
archives:
- replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
name_template: "{{ .ProjectName }}-{{ tolower .Os }}-{{ .Arch }}-{{ .Version }}"
- name_template: >-
{{- .ProjectName }}-
{{- tolower .Os }}-
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}-
{{- .Version }}"
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 8404617

Please sign in to comment.