From df25453fc62727a53099427cd8b6f53c049879fe Mon Sep 17 00:00:00 2001 From: Tomas Tauber <2410580+tomtau@users.noreply.github.com> Date: Fri, 13 Aug 2021 14:40:56 +0800 Subject: [PATCH] Problem: goreleaser doesn't release binaries for testnet Solution: fixed the goreleaser config --- .goreleaser.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index ca62eb418..812c75f8f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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" @@ -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" @@ -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" @@ -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" @@ -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}}