chore: include boot files in the release

This commit is contained in:
mrekucci 2024-04-24 08:12:45 -05:00
parent 499b893728
commit ac4a3d4ba1

View file

@ -1,5 +1,7 @@
version: 1
project_name: mev-commit-geth
builds:
- env:
- CGO_ENABLED=0
@ -17,7 +19,7 @@ builds:
goarch: arm64
dir: ./external/geth
main: ./cmd/geth
binary: mev-commit-geth
binary: "{{ .ProjectName }}"
archives:
- format: tar.gz
@ -30,15 +32,28 @@ archives:
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}
{{ end }}
{{- end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
format_overrides:
- goos: windows
format: zip
files:
- src: ./external/geth/geth-poa/entrypoint.sh
dst: ./
strip_parent: true
- src: ./external/geth/geth-poa/genesis.json
dst: ./
strip_parent: true
- src: ./external/geth/geth-poa/util/deploy_create2.sh
dst: ./
strip_parent: true
- src: ./external/geth/geth-poa/signer-node*/**/*
dst: ./
strip_parent: false
checksum:
name_template: >-
mev-commit-geth_
{{ .ProjectName }}_
{{- if .IsSnapshot }}{{ .ShortCommit }}
{{- else }}{{ .Version }}
{{- end -}}