chore: disable CGO and upgrade goreleaser

This commit is contained in:
andig 2023-02-15 23:24:02 +01:00
parent af883a4b3f
commit b0ff432703
5 changed files with 14 additions and 9 deletions

View file

@ -26,15 +26,17 @@ builds:
archives:
- builds:
- evcc
replacements:
darwin: macOS
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- evcc.dist.yaml
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}-{{ .Arch }}{{ if .Arm }}hf{{ end }}"
name_template: >-
{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}-{{ .Arch }}{{ if .Arm }}hf{{ end }}
env:
- CGO_ENABLED=0
universal_binaries:
- replace: true