diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6ca7b68481..36a0b4a127 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -70,9 +70,13 @@ builds: - -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }} - -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }} - -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger + - -w -s flags: - -mod=readonly - -trimpath + tags: + - netgo + - ledger - id: lavap binary: lavap @@ -105,15 +109,7 @@ archives: - id: lavavisor builds: - lavavisor - format: tar.gz - # this name template makes the OS and Arch compatible with the results of `uname`. - name_template: >- - {{ .Binary }}_ - {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} - {{- if .Arm }}v{{ .Arm }}{{ end }} + format: binary # use zip for windows archives format_overrides: - goos: windows @@ -121,15 +117,7 @@ archives: - id: lavap builds: - lavap - format: tar.gz - # this name template makes the OS and Arch compatible with the results of `uname`. - name_template: >- - {{ .Binary }}_ - {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} - {{- if .Arm }}v{{ .Arm }}{{ end }} + format: binary # use zip for windows archives format_overrides: - goos: windows @@ -137,15 +125,7 @@ archives: - id: lavad builds: - lavad - format: tar.gz - # this name template makes the OS and Arch compatible with the results of `uname`. - name_template: >- - {{ .Binary }}_ - {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} - {{- if .Arm }}v{{ .Arm }}{{ end }} + format: binary # use zip for windows archives format_overrides: - goos: windows