Skip to content

Commit

Permalink
[chore] fix update-otel makefile target (open-telemetry#29437)
Browse files Browse the repository at this point in the history
Don't need to run the command twice. In fact doing so fails because the
first time through, modules are updated and the repo is no longer clean
(as it contains changes).

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten authored Nov 22, 2023
1 parent f85a391 commit a7ff5d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,7 @@ telemetrygen:

.PHONY: update-otel
update-otel:$(MULTIMOD)
$(MULTIMOD) sync -a=true -s=true -o ../opentelemetry-collector -m stable --commit-hash $(OTEL_STABLE_VERSION)
$(MULTIMOD) sync -a=true -s=true -o ../opentelemetry-collector -m beta --commit-hash $(OTEL_VERSION)
$(MULTIMOD) sync -a=true -s=true -o ../opentelemetry-collector --commit-hash $(OTEL_STABLE_VERSION)
$(MAKE) gotidy

.PHONY: otel-from-tree
Expand Down

0 comments on commit a7ff5d1

Please sign in to comment.