Skip to content

Commit

Permalink
fix: add slash to .toys releases.yml directory to prevent gem release…
Browse files Browse the repository at this point in the history
… mismatch (#1799)
  • Loading branch information
ericmustin authored Jan 30, 2025
1 parent baeda39 commit 19b5fbe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .toys/.data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ gems:
version_constant: [OpenTelemetry, Exporter, Jaeger, VERSION]

- name: opentelemetry-exporter-otlp
directory: exporter/otlp
# we append a slash here to avoid the naive substring start_with? directory-matching condition in underlying toys gem
# which casues exporter/otlp to incorrectly match when changes occur in exporter/otlp-logs or exporter/otlp-metrics
# https://github.com/dazuma/toys/blob/17ed449da8299f272b834470ff6b279a59e8070b/.toys/release/.lib/release_utils.rb#L436
# https://github.com/open-telemetry/opentelemetry-ruby/issues/1792
directory: exporter/otlp/
version_constant: [OpenTelemetry, Exporter, OTLP, VERSION]

- name: opentelemetry-exporter-otlp-logs
Expand Down

0 comments on commit 19b5fbe

Please sign in to comment.