Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ presubmit: checklicense misspell lint
# Updating OTel Components
##########################

OTEL_VERSION = v0.121.0
OTEL_CONTRIB_VERSION = v0.121.0
OTEL_VERSION ?= v0.121.0
OTEL_CONTRIB_VERSION ?= v0.121.0

.PHONY: update-otel-components
update-otel-components: export OTEL_VERSION := $(OTEL_VERSION)
Expand All @@ -44,6 +44,14 @@ update-otel-components-deps:
generate-components:
PATH="$(TOOLS_DIR):${PATH}" TARGET="generate" $(MAKE) target-all-otel-components

# This target will tag the git repo using the OTel version. Eventually this may be
# more sophisticated if we want to supply separate tags for every subcomponent. For
# now it is pretty simply.
.PHONY: tag-repo
tag-repo:
git tag -a $(OTEL_VERSION) -m "Update to OpenTelemetry Collector version $(OTEL_VERSION)"
@echo "Created git tag $(OTEL_VERSION). If it looks good, push it to the remote by running:\ngit push origin $(OTEL_VERSION)"

###################
# Distro Generation
###################
Expand Down
Loading