Skip to content

Commit

Permalink
Problem: goreleaser doesn't release binaries for testnet
Browse files Browse the repository at this point in the history
Solution: fixed the goreleaser config
  • Loading branch information
tomtau committed Aug 13, 2021
1 parent 9deabbe commit df25453
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ builds:
goarch:
- amd64
flags:
- -tags=cgo,ledger,!test_ledger_mock,!ledger_mock,!ledger_zemu
- -tags=testnet,cgo,ledger,!test_ledger_mock,!ledger_mock,!ledger_zemu
ldflags:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=crypto-org-chain -X github.com/cosmos/cosmos-sdk/version.AppName=chain-maind -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- id: "chain-maind-darwin-arm64"
Expand All @@ -30,7 +30,7 @@ builds:
goarch:
- arm64
flags:
- -tags=cgo,ledger,!test_ledger_mock,!ledger_mock,!ledger_zemu
- -tags=testnet,cgo,ledger,!test_ledger_mock,!ledger_mock,!ledger_zemu
ldflags:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=crypto-org-chain -X github.com/cosmos/cosmos-sdk/version.AppName=chain-maind -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- id: "chain-maind-linux"
Expand All @@ -45,7 +45,7 @@ builds:
goarch:
- amd64
flags:
- -tags=cgo,ledger,!test_ledger_mock,!ledger_mock,!ledger_zemu
- -tags=testnet,cgo,ledger,!test_ledger_mock,!ledger_mock,!ledger_zemu
ldflags:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=crypto-org-chain -X github.com/cosmos/cosmos-sdk/version.AppName=chain-maind -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- id: "chain-maind-linux-arm64"
Expand All @@ -60,7 +60,7 @@ builds:
goarch:
- arm64
flags:
- -tags=cgo,ledger,!test_ledger_mock,!ledger_mock,!ledger_zemu
- -tags=testnet,cgo,ledger,!test_ledger_mock,!ledger_mock,!ledger_zemu
ldflags:
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=crypto-org-chain -X github.com/cosmos/cosmos-sdk/version.AppName=chain-maind -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
- id: "chain-maind-windows"
Expand All @@ -75,7 +75,7 @@ builds:
goarch:
- amd64
flags:
- -tags=cgo,ledger,!test_ledger_mock,!ledger_mock,!ledger_zemu
- -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-org-chain -X github.com/cosmos/cosmos-sdk/version.AppName=chain-maind -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}
Expand Down

0 comments on commit df25453

Please sign in to comment.