Skip to content

Commit

Permalink
try with shorter abbrev in version
Browse files Browse the repository at this point in the history
Signed-off-by: c-kruse <[email protected]>
  • Loading branch information
c-kruse committed Nov 7, 2023
1 parent da04b70 commit c8ac638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otelcolbuilder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit c8ac638

Please sign in to comment.