Skip to content

Commit

Permalink
chore: adjust .goreleaser.yml for monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci committed Apr 2, 2024
1 parent fd8bc6f commit d83deb4
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .goreleaser.yaml → .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
version: 1

before:
hooks:
- go mod tidy

builds:
- env:
- CGO_ENABLED=0
Expand All @@ -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:
Expand Down

0 comments on commit d83deb4

Please sign in to comment.