go-ethereum/.goreleaser.yml
2024-04-23 19:46:14 -05:00

52 lines
963 B
YAML

version: 1
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
goarm:
- 7
ignore:
- goos: windows
goarch: arm64
dir: ./external/geth
main: ./cmd/geth
binary: mev-commit-geth
archives:
- format: tar.gz
name_template: >-
{{- .Binary }}_
{{- if .IsSnapshot }}{{ .ShortCommit }}_
{{- else }}{{ .Version }}_
{{ end }}
{{- title .Os }}_
{{- 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
checksum:
name_template: >-
mev-commit-geth_
{{- if .IsSnapshot }}{{ .ShortCommit }}
{{- else }}{{ .Version }}
{{- end -}}
_checksums.txt
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"