From 86157d801b101cad876e8c11e9f4ca2a23020f20 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 6 Sep 2022 10:44:30 +0300 Subject: [PATCH] [#264] make: Fix commit abbrev length in version Make it uniform across all our repos. Signed-off-by: Pavel Karpy --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bb50a31..b934ca7 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 --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