diff --git a/CHANGELOG.md b/CHANGELOG.md index 43f51f19cd..eb197ca3e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,6 +58,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Event Breaking Changes ### Build, CI +* (build) [#1298](https://github.com/Finschia/finschia-sdk/pull/1298) Set Finschia/ostracon version ### Document Updates * (x/token,collection) [#1201](https://github.com/Finschia/finschia-sdk/pull/1201) Deprecate legacy features on x/token,collection diff --git a/Makefile b/Makefile index 0b4f338304..e8a87b95c2 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ PACKAGES_NOSIMULATION=$(shell go list ./... | grep -v '/simulation') PACKAGES_SIMTEST=$(shell go list ./... | grep '/simulation') VERSION := $(shell echo $(shell git describe --always) | sed 's/^v//') COMMIT := $(shell git log -1 --format='%H') +OCVERSION := $(shell go list -m github.com/Finschia/ostracon | sed -e 's:.* v::') LEDGER_ENABLED ?= true BINDIR ?= $(GOPATH)/bin BUILDDIR ?= $(CURDIR)/build @@ -89,7 +90,8 @@ ldflags = -X github.com/Finschia/finschia-sdk/version.Name=sim \ -X github.com/Finschia/finschia-sdk/version.Version=$(VERSION) \ -X github.com/Finschia/finschia-sdk/version.Commit=$(COMMIT) \ -X github.com/Finschia/finschia-sdk/types.DBBackend=$(DB_BACKEND) \ - -X "github.com/Finschia/finschia-sdk/version.BuildTags=$(build_tags_comma_sep)" + -X "github.com/Finschia/finschia-sdk/version.BuildTags=$(build_tags_comma_sep)" \ + -X github.com/Finschia/ostracon/version.OCCoreSemVer=$(OCVERSION) ifeq (,$(findstring nostrip,$(LBM_BUILD_OPTIONS))) ldflags += -w -s