Skip to content

Commit

Permalink
build: set Finschia/ostracon version (#340) (#342)
Browse files Browse the repository at this point in the history
* Set ostracon version

* Update CHANGELOG.md

(cherry picked from commit 78f9d87)

Co-authored-by: Youngtaek Yoon <[email protected]>
  • Loading branch information
mergify[bot] and 0Tech authored Mar 29, 2024
1 parent 51c8c2a commit 18c7486
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Breaking Changes

### Build, CI
* (build) [\#340](https://github.com/Finschia/finschia/pull/340) Set Finschia/ostracon version

### Docs

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif
PACKAGES_SIMTEST=$(shell go list ./... | grep '/simulation')
SDK_PACK := $(shell go list -m github.com/Finschia/finschia-sdk | sed 's/ /\@/g')
GO_VERSION := $(shell cat go.mod | grep -E 'go [0-9].[0-9]+' | cut -d ' ' -f 2)
OST_VERSION := $(shell go list -m github.com/Finschia/ostracon | sed 's:.* ::') # grab everything after the space in "github.com/Finschia/ostracon v0.34.7"
OCVERSION := $(shell go list -m github.com/Finschia/ostracon | sed 's:.* v::')
WASMVM_VERSION=$(shell go list -m github.com/Finschia/wasmvm | awk '{print $$2}')
HEIGHLINER_VERSION=v1.5.3
DOCKER := $(shell which docker)
Expand Down Expand Up @@ -57,7 +57,7 @@ ldflags = -X github.com/Finschia/finschia-sdk/version.Name=finschia \
-X github.com/Finschia/finschia-sdk/version.Commit=$(COMMIT) \
-X github.com/Finschia/finschia-sdk/types.DBBackend=goleveldb \
-X "github.com/Finschia/finschia-sdk/version.BuildTags=$(build_tags_comma_sep)" \
-X github.com/Finschia/ostracon/version.TMCoreSemVer=$(OST_VERSION) \
-X github.com/Finschia/ostracon/version.OCCoreSemVer=$(OCVERSION) \
-linkmode=external \
-w -s

Expand Down

0 comments on commit 18c7486

Please sign in to comment.