File tree 2 files changed +12
-3
lines changed
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -286,10 +286,14 @@ telemetrygen:
286
286
cd ./cmd/telemetrygen && GO111MODULE=on CGO_ENABLED=0 $(GOCMD ) build -trimpath -o ../../bin/telemetrygen_$(GOOS ) _$(GOARCH )$(EXTENSION ) \
287
287
-tags $(GO_BUILD_TAGS ) .
288
288
289
+ .PHONY : update-dep
290
+ update-dep :
291
+ $(MAKE ) $(FOR_GROUP_TARGET ) TARGET=" updatedep"
292
+ $(MAKE ) otelcontribcol
293
+
289
294
.PHONY : update-otel
290
- update-otel :$(MULTIMOD )
291
- $(MULTIMOD ) sync -a=true -s=true -o ../opentelemetry-collector --commit-hash $(OTEL_STABLE_VERSION )
292
- $(MAKE ) gotidy
295
+ update-otel :
296
+ $(MAKE ) update-dep MODULE=go.opentelemetry.io/collector VERSION=$(OTEL_VERSION ) RC_VERSION=$(OTEL_RC_VERSION ) STABLE_VERSION=$(OTEL_STABLE_VERSION )
293
297
294
298
.PHONY : otel-from-tree
295
299
otel-from-tree :
Original file line number Diff line number Diff line change @@ -203,3 +203,8 @@ moddownload:
203
203
gci: $(TOOLS_BIN_DIR)/gci
204
204
@echo "running $(GCI)"
205
205
@$(GCI) write -s standard -s default -s "prefix(github.com/open-telemetry/opentelemetry-collector-contrib)" $(ALL_SRC_AND_DOC)
206
+
207
+ .PHONY: updatedep
208
+ updatedep:
209
+ $(PWD)/internal/buildscripts/update-dep
210
+ @$(MAKE) tidy
You can’t perform that action at this time.
0 commit comments