File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ BRANCH_NAME:=$(shell git rev-parse --abbrev-ref HEAD | tr '/' '-')
44# The Git commit hash
55COMMIT := $(shell git rev-parse HEAD)
66# The tag of the current commit, otherwise empty
7- GIT_VERSION := $(shell git describe --tags --abbrev=2 2>/dev/null)
7+ GIT_VERSION := $(shell git describe --tags --abbrev=0 2>/dev/null)
88CMD_ARGS :=
99# ACCESS_NODE_SPORK_HOSTS are comma separated
1010TESTNET_ACCESS_NODE_SPORK_HOSTS := access-001.devnet51.nodes.onflow.org:9000
@@ -86,7 +86,7 @@ check-tidy:
8686
8787.PHONY : build
8888build :
89- $(COMPILER_FLAGS ) go build -o flow-evm-gateway -ldflags=" -X github.com/onflow/flow-evm-gateway/api.Version=$( IMAGE_TAG ) " cmd/main.go
89+ $(COMPILER_FLAGS ) go build -o flow-evm-gateway -ldflags=" -X github.com/onflow/flow-evm-gateway/api.Version=$( GIT_VERSION ) " cmd/main.go
9090 chmod a+x flow-evm-gateway
9191
9292.PHONY : fix-lint
You can’t perform that action at this time.
0 commit comments