diff --git a/otelcolbuilder/Makefile b/otelcolbuilder/Makefile index 7a43435560..92b1d9cf4c 100644 --- a/otelcolbuilder/Makefile +++ b/otelcolbuilder/Makefile @@ -97,7 +97,7 @@ endif .PHONY: _builder _builder: - $(eval VERSION ?= $(shell git describe --tags --abbrev=10 --match "v[0-9]*")) + $(eval VERSION ?= $(shell git describe --tags --abbrev=5 --match "v[0-9]*")) # Need to specify go path because otherwise opentelemetry-collector-builder # uses /usr/bin/go which on Github Actions is using preinstalled 1.15.12 by default. CGO_ENABLED=$(CGO_ENABLED) $(BUILDER_BIN_NAME) \