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 Dec 17, 2020
1 parent afcf7ef commit 16fc0dc
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=testnet,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 16fc0dc

Please sign in to comment.