mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-29 08:03:48 +00:00
chore: adjust .goreleaser.yml for monorepo
This commit is contained in:
parent
fd8bc6fa54
commit
d83deb470b
1 changed files with 7 additions and 8 deletions
|
|
@ -1,9 +1,5 @@
|
|||
version: 1
|
||||
|
||||
before:
|
||||
hooks:
|
||||
- go mod tidy
|
||||
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
|
|
@ -19,24 +15,27 @@ builds:
|
|||
ignore:
|
||||
- goos: windows
|
||||
goarch: arm64
|
||||
dir: ./external/geth
|
||||
main: ./cmd/geth
|
||||
binary: geth
|
||||
binary: mev-commit-geth
|
||||
|
||||
archives:
|
||||
- format: tar.gz
|
||||
# This name template makes the OS and Arch compatible with the results of `uname`.
|
||||
name_template: >-
|
||||
{{ .ProjectName }}_
|
||||
{{- .Binary }}_
|
||||
{{- .Version }}_
|
||||
{{- title .Os }}_
|
||||
{{- if eq .Arch "amd64" }}x86_64
|
||||
{{- else if eq .Arch "386" }}i386
|
||||
{{- else }}{{ .Arch }}{{ end }}
|
||||
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
||||
# Use zip for windows archives.
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
|
||||
checksum:
|
||||
name_template: mev-commit-geth_{{ .Version }}_checksums.txt
|
||||
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
Loading…
Reference in a new issue