[#255] Filter version tags for version calculation

Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
support/v0.16
anikeev-yadro 2022-08-11 15:39:04 +03:00 committed by Pavel Karpy
parent 02c2ce3966
commit 73e2119180
1 changed files with 1 additions and 1 deletions

View File

@ -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