From ddedd59725981f82497ac6927a610edd97ac085b Mon Sep 17 00:00:00 2001 From: mrekucci <4932785+mrekucci@users.noreply.github.com> Date: Wed, 24 Apr 2024 08:12:45 -0500 Subject: [PATCH] chore: include boot files in the release --- .goreleaser.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 31b84569395f..56e4b1c03284 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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,25 @@ 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 checksum: name_template: >- - mev-commit-geth_ + {{ .ProjectName }}_ {{- if .IsSnapshot }}{{ .ShortCommit }} {{- else }}{{ .Version }} {{- end -}}