[#63] Fix commit abbrev length in version

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
Alexey Vanin 2022-09-05 12:05:07 +03:00 committed by Alex Vanin
parent 0ed4e37e77
commit dd35b859e1

View file

@ -1,7 +1,7 @@
#!/usr/bin/make -f
REPO ?= "$(shell go list -m)"
VERSION ?= "$(shell git describe --tags --match "v*" --dirty --always 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")"
VERSION ?= "$(shell git describe --tags --match "v*" --dirty --always --abbrev=8 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")"
GO_VERSION ?= 1.19
LINT_VERSION ?= v1.49.0