diff --git a/Makefile b/Makefile index 7c51d64e1..a6fe45552 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SHELL = bash REPO ?= $(shell go list -m) -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") HUB_IMAGE ?= nspccdev/neofs HUB_TAG ?= "$(shell echo ${VERSION} | sed 's/^v//')"