File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -488,9 +488,25 @@ chlog-preview: chlog-install
488
488
$(CHLOGGEN ) update --dry
489
489
490
490
.PHONY : chlog-update
491
- chlog-update : chlog-install
491
+ chlog-update : chlog-install chlog-insert-components
492
492
$(CHLOGGEN ) update --version $(VERSION )
493
493
494
+ .PHONY : chlog-insert-components
495
+ chlog-insert-components :
496
+ @echo " ### Components" > components.md
497
+ @echo " " >> components.md
498
+ @echo " * [OpenTelemetry Collector - v${OTELCOL_VERSION} ](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v${OTELCOL_VERSION} )" >> components.md
499
+ @echo " * [OpenTelemetry Contrib - v${OTELCOL_VERSION} ](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v${OTELCOL_VERSION} )" >> components.md
500
+ @echo " * [Java auto-instrumentation - ${AUTO_INSTRUMENTATION_JAVA_VERSION} ](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v${AUTO_INSTRUMENTATION_JAVA_VERSION} )" >> components.md
501
+ @echo " * [.NET auto-instrumentation - ${AUTO_INSTRUMENTATION_DOTNET_VERSION} ](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/${AUTO_INSTRUMENTATION_DOTNET_VERSION} )" >> components.md
502
+ @echo " * [Node.JS - ${AUTO_INSTRUMENTATION_NODEJS_VERSION} ](https://github.com/open-telemetry/opentelemetry-js-contrib/releases/tag/auto-instrumentations-node-${AUTO_INSTRUMENTATION_NODEJS_VERSION} )" >> components.md
503
+ @echo " * [Python - ${AUTO_INSTRUMENTATION_PYTHON_VERSION} ](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/${AUTO_INSTRUMENTATION_PYTHON_VERSION} )" >> components.md
504
+ @echo " * [Go - v${AUTO_INSTRUMENTATION_GO_VERSION} ](https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v${AUTO_INSTRUMENTATION_GO_VERSION} )" >> components.md
505
+ @echo " * [ApacheHTTPD - ${AUTO_INSTRUMENTATION_APACHE_HTTPD_VERSION} ](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv${AUTO_INSTRUMENTATION_APACHE_HTTPD_VERSION} )" >> components.md
506
+ @echo " * [Nginx - ${AUTO_INSTRUMENTATION_NGINX_VERSION} ](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv${AUTO_INSTRUMENTATION_NGINX_VERSION} )" >> components.md
507
+ @sed -i ' /<!-- next version -->/rcomponents.md' CHANGELOG.md
508
+ @sed -i ' /<!-- next version -->/G' CHANGELOG.md
509
+ @rm components.md
494
510
495
511
.PHONY : opm
496
512
OPM = ./bin/opm
You can’t perform that action at this time.
0 commit comments