open-telemetry/opentelemetry-ruby-contrib

Improve Initial Gem Release Process

开放

#1,373 创建于 2025年1月29日

 (2 条评论) (0 个反应) (0 位负责人)Ruby (252 个派生)auto 404
help wantedkeep

仓库指标

星标
 (135 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

We tend to have the same mistakes repeated when releasing new gems. I think we need a linter or guide to help us avoid them in the future.

Our automated release tooling handles versioning. For initial releases this should have been set to 0.0.0

The instrumentation generator seeds the version here:

https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/.instrumentation_generator/templates/lib/instrumentation/instrumentation_name/version.rb.tt#L10

That along with the empty CHANGELOG signals to the release tooling that this specific version will need to be an "initial release" of the gem https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/.instrumentation_generator/templates/CHANGELOG.md.tt

Originally posted by @arielvalentin in https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/1313#discussion_r1933999091

贡献者指南