Skip to content

Commit

Permalink
release binary
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed Oct 11, 2024
1 parent 29f7436 commit 5f8d0e5
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ builds:
flags:
- -tags=cgo
ldflags:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=dymension -X github.com/cosmos/cosmos-sdk/version.AppName=onomyd -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=onomy -X github.com/cosmos/cosmos-sdk/version.AppName=onomyd -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- id: "onomyd-linux-arm64"
main: ./cmd/onomyd
binary: onomyd
Expand All @@ -62,7 +62,7 @@ builds:
flags:
- -tags=cgo
ldflags:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=dymension -X github.com/cosmos/cosmos-sdk/version.AppName=onomyd -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=onomy -X github.com/cosmos/cosmos-sdk/version.AppName=onomyd -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- id: "onomyd-windows"
main: ./cmd/onomyd
binary: onomyd
Expand All @@ -78,7 +78,7 @@ builds:
- -tags=cgo
- -buildmode=exe
ldflags:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=dymension -X github.com/cosmos/cosmos-sdk/version.AppName=onomyd -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=onomy -X github.com/cosmos/cosmos-sdk/version.AppName=onomyd -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}

archives:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{- title .Os }}_{{ .Arch }}'
Expand All @@ -91,6 +91,14 @@ archives:
- onomyd-windows
- onomyd-linux
- onomyd-linux-arm64
- id: binaries
builds:
- onomyd-linux-amd64
- onomyd-linux-arm64
name_template: '{{ .ProjectName }}_{{ .Version }}_{{- title .Os }}_{{ .Arch }}'
format: binary
files:
- none*

checksum:
name_template: 'checksums.txt'
Expand Down

0 comments on commit 5f8d0e5

Please sign in to comment.