build: delete CMTVERSION in Makefile (#16677)
Co-authored-by: zgfzgf <lotuscoin@foxmail.com>
This commit is contained in:
parent
ec8d0acbe5
commit
aca89be7b2
4
Makefile
4
Makefile
@ -3,7 +3,6 @@
|
||||
PACKAGES_NOSIMULATION=$(shell go list ./... | grep -v '/simulation')
|
||||
PACKAGES_SIMTEST=$(shell go list ./... | grep '/simulation')
|
||||
export VERSION := $(shell echo $(shell git describe --tags --always --match "v*") | sed 's/^v//')
|
||||
export CMTVERSION := $(shell go list -m github.com/cometbft/cometbft | sed 's:.* ::')
|
||||
export COMMIT := $(shell git log -1 --format='%H')
|
||||
LEDGER_ENABLED ?= true
|
||||
BINDIR ?= $(GOPATH)/bin
|
||||
@ -58,8 +57,7 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=sim \
|
||||
-X github.com/cosmos/cosmos-sdk/version.AppName=simd \
|
||||
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
|
||||
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
|
||||
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" \
|
||||
-X github.com/cometbft/cometbft/version.TMCoreSemVer=$(CMTVERSION)
|
||||
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)"
|
||||
|
||||
# DB backend selection
|
||||
ifeq (cleveldb,$(findstring cleveldb,$(COSMOS_BUILD_OPTIONS)))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user