From 73e211918031612a4ba32aef0d570c0023052e5c Mon Sep 17 00:00:00 2001 From: anikeev-yadro Date: Thu, 11 Aug 2022 15:39:04 +0300 Subject: [PATCH] [#255] Filter version tags for version calculation Signed-off-by: anikeev-yadro --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eebe5a4..bb50a31 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ SHELL=bash GOBIN ?= $(shell go env GOPATH)/bin NEOGO ?= $(GOBIN)/cli -VERSION ?= $(shell git describe --tags --dirty --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop") +VERSION ?= $(shell git describe --tags --dirty --match "v*" --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop") .PHONY: all build clean test neo-go .PHONY: alphabet mainnet morph nns sidechain