From 0a15159112108b0d16d5e5bc2a7099ebd763dffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ka=C5=BAmierczak?= Date: Fri, 17 Jan 2025 16:32:39 +0100 Subject: [PATCH] fix: exclude unreleased gRPC instrumentation from installation tests --- releases/Gemfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releases/Gemfile b/releases/Gemfile index 7473b143c..9b7e2e048 100644 --- a/releases/Gemfile +++ b/releases/Gemfile @@ -47,8 +47,10 @@ Dir['../propagator/**/version.rb'].each do |f| gem "opentelemetry-propagator-#{name}", version end +excluded_instrumentations = %w[grpc] Dir['../instrumentation/**/version.rb'].each do |f| name = f.match(%r{instrumentation/(\w+)/lib})[1] + next if excluded_instrumentations.include?(name) version = File.read(f).match(/VERSION = '([\d\.]+)'/)[1] gem "opentelemetry-instrumentation-#{name}", version