diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 676ae62e..bdedf87c 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -81,12 +81,12 @@ builds: - -s -w -X github.com/cosmos/cosmos-sdk/version.Name=realionetwork -X github.com/cosmos/cosmos-sdk/version.AppName=realio-networkd -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}} archives: - - name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}' - replacements: - darwin: Darwin - linux: Linux - windows: Windows - amd64: x86_64 + - name_template: >- + {{ .ProjectName }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} format_overrides: - goos: windows format: zip