Skip to content

Commit

Permalink
Use tags in version annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
pmm-sumo committed Nov 19, 2021
1 parent ba3018b commit d7c3b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CMD?=
OTEL_VERSION=main

BUILD_INFO_IMPORT_PATH=github.com/open-telemetry/opentelemetry-collector-contrib/internal/version
VERSION=$(shell git describe --always --match "v[0-9]*" HEAD)
VERSION=$(shell git describe --always --tags --match "v[0-9]*" HEAD)
BUILD_INFO=-ldflags "-X $(BUILD_INFO_IMPORT_PATH).Version=$(VERSION)"

COMP_REL_PATH=internal/components/components.go
Expand Down

0 comments on commit d7c3b2d

Please sign in to comment.