[#264] make: Fix commit abbrev length in version

Make it uniform across all our repos.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-09-06 10:44:30 +03:00 committed by fyrchik
parent b4fdd854b7
commit 86157d801b

View file

@ -3,7 +3,7 @@
SHELL=bash
GOBIN ?= $(shell go env GOPATH)/bin
NEOGO ?= $(GOBIN)/cli
VERSION ?= $(shell git describe --tags --dirty --match "v*" --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")
VERSION ?= $(shell git describe --tags --dirty --match "v*" --always --abbrev=8 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")
.PHONY: all build clean test neo-go
.PHONY: alphabet mainnet morph nns sidechain