From 9ba365f4028b5739cc50333a05ffb819539de219 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 26 Mar 2024 16:33:49 +0100 Subject: [PATCH] Version fixes --- .goreleaser.yaml | 8 ++++---- Makefile | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0b3917dead..23bf31b912 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -56,10 +56,10 @@ builds: - -X github.com/cosmos/cosmos-sdk/version.ClientName=zetaclientd - -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }} - -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Env.COMMIT }} - - -X github.com/zeta-chain/zetacore/common.Name=zetacored - - -X github.com/zeta-chain/zetacore/common.Version={{ .Version }} - - -X github.com/zeta-chain/zetacore/common.CommitHash={{ .Env.COMMIT }} - - -X github.com/zeta-chain/zetacore/common.BuildTime=={{ .Env.BUILDTIME }} + - -X github.com/zeta-chain/zetacore/pkg.Name=zetacored + - -X github.com/zeta-chain/zetacore/pkg.Version={{ .Version }} + - -X github.com/zeta-chain/zetacore/pkg.CommitHash={{ .Env.COMMIT }} + - -X github.com/zeta-chain/zetacore/pkg.BuildTime=={{ .Env.BUILDTIME }} - -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb - id: "zetaclientd" diff --git a/Makefile b/Makefile index 9a4ccfe3fa..440a761186 100644 --- a/Makefile +++ b/Makefile @@ -12,10 +12,10 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=zetacore \ -X github.com/cosmos/cosmos-sdk/version.ClientName=zetaclientd \ -X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \ -X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \ - -X github.com/zeta-chain/zetacore/common.Name=zetacored \ - -X github.com/zeta-chain/zetacore/common.Version=$(VERSION) \ - -X github.com/zeta-chain/zetacore/common.CommitHash=$(COMMIT) \ - -X github.com/zeta-chain/zetacore/common.BuildTime=$(BUILDTIME) \ + -X github.com/zeta-chain/zetacore/pkg.Name=zetacored \ + -X github.com/zeta-chain/zetacore/pkg.Version=$(VERSION) \ + -X github.com/zeta-chain/zetacore/pkg.CommitHash=$(COMMIT) \ + -X github.com/zeta-chain/zetacore/pkg.BuildTime=$(BUILDTIME) \ -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb BUILD_FLAGS := -ldflags '$(ldflags)' -tags pebbledb,ledger