Skip to content

Commit

Permalink
Problem: goreleaser build fails for windows
Browse files Browse the repository at this point in the history
Solution: added -buildmode=exe flag
  • Loading branch information
tomtau committed Jan 11, 2021
1 parent 203972e commit c7b6203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ builds:
- amd64
flags:
- -tags=crossfire,cgo,ledger,!test_ledger_mock,!ledger_mock,!ledger_zemu
- -buildmode=exe
ldflags:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=crypto-com-chain -X github.com/cosmos/cosmos-sdk/version.ServerName=chain-maind -X github.com/cosmos/cosmos-sdk/version.ClientName=chain-maincli -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}

Expand Down

0 comments on commit c7b6203

Please sign in to comment.