open-telemetry/opentelemetry-ruby-contrib

Improve Initial Gem Release Process

Ouverte

#1 373 ouverte le 29 janv. 2025

 (2 commentaires) (0 réaction) (0 personne assignée)Ruby (252 forks)auto 404
help wantedkeep

Métriques du dépôt

Stars
 (135 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur