Skip to content

Commit

Permalink
chore: include boot files in the release
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci committed Apr 27, 2024
1 parent 499b893 commit ac4a3d4
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version: 1

project_name: mev-commit-geth

builds:
- env:
- CGO_ENABLED=0
Expand All @@ -17,7 +19,7 @@ builds:
goarch: arm64
dir: ./external/geth
main: ./cmd/geth
binary: mev-commit-geth
binary: "{{ .ProjectName }}"

archives:
- format: tar.gz
Expand All @@ -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 -}}
Expand Down

0 comments on commit ac4a3d4

Please sign in to comment.