Skip to content

Commit

Permalink
Merge pull request #178 from decentrio/release_binary
Browse files Browse the repository at this point in the history
chore(ci): Release binary
  • Loading branch information
vuong177 authored Oct 11, 2024
2 parents 29f7436 + 5f8d0e5 commit 0f838fa
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 0f838fa

Please sign in to comment.