Skip to content

chore(tombstone-library): remove all versioning logic and preserve existing version.rb - #457

Merged
torreypayne merged 1 commit into
mainfrom
chore/tombstone-remove-versioning
Aug 13, 2026
Merged

chore(tombstone-library): remove all versioning logic and preserve existing version.rb#457
torreypayne merged 1 commit into
mainfrom
chore/tombstone-remove-versioning

Conversation

@torreypayne

@torreypayne torreypayne commented Aug 12, 2026

Copy link
Copy Markdown
Member

Removes all versioning arguments, helpers, and template generation from toys/tombstone-library, leaving the existing lib/**/version.rb file completely untouched when tombstoning a library.

Changes

  • Removes optional_arg :gem_version from tool flags.
  • Removes ensure_gem_version and version_lines methods.
  • Deletes toys/tombstone-library/.data/version-template.erb.
  • Updates delete_files to preserve the existing lib/#{namespace_dir}/version.rb file without modifying or regenerating it.
  • Removes version.rb generation step from generate_files.

Rationale

In monorepos managed by Release Please (such as google-cloud-ruby), release-please is solely responsible for bumping version.rb and generating changelogs upon merging a breaking change (feat!:). Removing versioning logic from the generator prevents unnecessary version churn and diffs.

@torreypayne
torreypayne requested a review from a team as a code owner August 12, 2026 22:20
@torreypayne
torreypayne force-pushed the chore/tombstone-remove-versioning branch from ce947ea to a401bd7 Compare August 12, 2026 22:22
@torreypayne
torreypayne force-pushed the chore/tombstone-remove-versioning branch from a401bd7 to f2dd97e Compare August 12, 2026 22:25

@aandreassa aandreassa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@torreypayne
torreypayne merged commit abfdec2 into main Aug 13, 2026
17 checks passed
@torreypayne
torreypayne deleted the chore/tombstone-remove-versioning branch August 13, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants