Skip to content

Commit 0e5dd05

Browse files
committed
chore: sync release-please-versions
1 parent 81cbe08 commit 0e5dd05

File tree

2 files changed

+80
-43
lines changed

2 files changed

+80
-43
lines changed

.release-please-manifest.json

Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,54 @@
11
{
22
"helpers/mysql": "0.1.1",
3-
"helpers/sql_obfuscation": "0.1.1",
4-
"instrumentation/base": "0.22.4",
5-
"instrumentation/graphql": "0.28.2",
3+
"helpers/sql-obfuscation": "0.2.0",
4+
"instrumentation/action_mailer": "0.2.0",
5+
"instrumentation/action_pack": "0.10.0",
6+
"instrumentation/action_view": "0.7.3",
7+
"instrumentation/active_job": "0.7.8",
8+
"instrumentation/active_model_serializers": "0.20.2",
9+
"instrumentation/active_record": "0.8.1",
10+
"instrumentation/active_support": "0.6.0",
11+
"instrumentation/all": "0.69.0",
12+
"instrumentation/aws_lambda": "0.1.1",
13+
"instrumentation/aws_sdk": "0.7.0",
14+
"instrumentation/base": "0.22.6",
15+
"instrumentation/bunny": "0.21.4",
16+
"instrumentation/concurrent_ruby": "0.21.4",
17+
"instrumentation/dalli": "0.25.4",
18+
"instrumentation/delayed_job": "0.22.4",
19+
"instrumentation/ethon": "0.21.8",
20+
"instrumentation/excon": "0.22.4",
21+
"instrumentation/faraday": "0.24.6",
22+
"instrumentation/grape": "0.2.0",
23+
"instrumentation/graphql": "0.28.4",
624
"instrumentation/gruf": "0.2.1",
7-
"instrumentation/racecar": "0.3.2",
8-
"instrumentation/rake": "0.2.2",
9-
"instrumentation/rdkafka": "0.4.6",
10-
"instrumentation/trilogy": "0.59.3",
11-
"instrumentation/active_support": "0.5.1",
12-
"instrumentation/action_mailer": "0.1.0",
13-
"instrumentation/action_view": "0.7.0",
14-
"instrumentation/action_pack": "0.9.0",
15-
"instrumentation/active_job": "0.7.1",
16-
"instrumentation/resque": "0.5.2",
17-
"instrumentation/bunny": "0.21.3",
18-
"instrumentation/active_record": "0.7.2",
19-
"instrumentation/aws_sdk": "0.5.2",
20-
"instrumentation/aws_lambda": "0.1.0",
21-
"instrumentation/lmdb": "0.22.2",
22-
"instrumentation/http": "0.23.3",
23-
"instrumentation/http_client": "0.22.6",
25+
"instrumentation/http": "0.23.4",
26+
"instrumentation/http_client": "0.22.7",
2427
"instrumentation/httpx": "0.1.2",
2528
"instrumentation/koala": "0.20.5",
26-
"instrumentation/active_model_serializers": "0.20.1",
27-
"instrumentation/concurrent_ruby": "0.21.3",
28-
"instrumentation/dalli": "0.25.3",
29-
"instrumentation/delayed_job": "0.22.2",
30-
"instrumentation/ethon": "0.21.7",
31-
"instrumentation/excon": "0.22.3",
32-
"instrumentation/faraday": "0.24.4",
33-
"instrumentation/mongo": "0.22.3",
34-
"instrumentation/mysql2": "0.27.1",
35-
"instrumentation/net_http": "0.22.6",
36-
"instrumentation/pg": "0.27.3",
37-
"instrumentation/que": "0.8.1",
38-
"instrumentation/rack": "0.24.5",
39-
"instrumentation/rails": "0.30.2",
40-
"instrumentation/grape": "0.1.8",
41-
"instrumentation/redis": "0.25.6",
42-
"instrumentation/restclient": "0.22.6",
29+
"instrumentation/lmdb": "0.22.3",
30+
"instrumentation/mongo": "0.22.4",
31+
"instrumentation/mysql2": "0.28.0",
32+
"instrumentation/net_http": "0.22.7",
33+
"instrumentation/pg": "0.29.0",
34+
"instrumentation/que": "0.8.4",
35+
"instrumentation/racecar": "0.3.4",
36+
"instrumentation/rack": "0.25.0",
37+
"instrumentation/rails": "0.33.0",
38+
"instrumentation/rake": "0.2.2",
39+
"instrumentation/rdkafka": "0.4.8",
40+
"instrumentation/redis": "0.25.7",
41+
"instrumentation/resque": "0.5.2",
42+
"instrumentation/restclient": "0.22.7",
4343
"instrumentation/rspec": "0.3.3",
44-
"instrumentation/ruby_kafka": "0.21.1",
45-
"instrumentation/sidekiq": "0.25.5",
46-
"instrumentation/sinatra": "0.23.5",
47-
"instrumentation/all": "0.56.0",
44+
"instrumentation/ruby_kafka": "0.21.3",
45+
"instrumentation/sidekiq": "0.25.7",
46+
"instrumentation/sinatra": "0.24.1",
47+
"instrumentation/trilogy": "0.60.0",
4848
"processor/baggage": "0.2.0",
49-
"propagator/ottrace": "0.21.2",
50-
"propagator/xray": "0.22.1",
49+
"propagator/ottrace": "0.21.3",
50+
"propagator/vitess": "0.1.0",
51+
"propagator/xray": "0.22.2",
5152
"resources/azure": "0.1.0",
5253
"resources/container": "0.1.1",
5354
"resources/google_cloud_platform": "0.1.0"

bin/sync-release-please

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/usr/bin/env ruby
2+
3+
require 'json'
4+
5+
# Function to extract VERSION constant from a file
6+
def extract_version(file_path)
7+
version = nil
8+
File.open(file_path, 'r') do |file|
9+
file.each_line do |line|
10+
if line =~ /VERSION\s*=\s*['"]([^'"]+)['"]/
11+
version = $1
12+
break
13+
end
14+
end
15+
end
16+
version
17+
end
18+
19+
# Hash to store the directory names and their versions
20+
versions = {}
21+
22+
# Find all version.rb files
23+
Dir.glob('**/version.rb').each do |file_path|
24+
# Extract the top 2 level directories
25+
top_dirs = file_path.split('/')[0..1].join('/')
26+
# Extract the version
27+
version = extract_version(file_path)
28+
# Store in the hash
29+
versions[top_dirs] = version if version
30+
end
31+
32+
# Write the hash to a JSON file
33+
File.open('.release-please-manifest.json', 'w') do |file|
34+
file.write(JSON.pretty_generate(versions))
35+
file.write("\n")
36+
end

0 commit comments

Comments
 (0)