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

Make it uniform across all our repos.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
support/v0.16
Pavel Karpy 2022-09-06 10:44:30 +03:00 committed by fyrchik
parent b4fdd854b7
commit 86157d801b
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 --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