Skip to content

Commit

Permalink
modify name template config
Browse files Browse the repository at this point in the history
  • Loading branch information
jiujiteiro committed Jul 10, 2023
1 parent 5b78fbb commit 55f63ff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55f63ff

Please sign in to comment.