Skip to content

Conversation

@simi
Copy link

@simi simi commented Sep 20, 2023

👋

Hello, this is naive approach to implement an idea of adding also gem release info into multi release commit message.

motivation

In recent weeks I was trying to get familiar with opentelemetry-ruby and often I have seen commits like open-telemetry/opentelemetry-ruby@a7bd62a. It is not possible to find out what was released looking just at commit message. For me, it would be super helpful to include this info as part of commit message.

@gem_info_list.each do |info|
gem_line = " * **#{info.gem_name} #{info.new_version}**"
gem_line += info.last_version ? " (was #{info.last_version})" : " (initial release)"
@release_commit_title += gem_line + "\n"
Copy link
Owner

Choose a reason for hiding this comment

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

The commit title is used for the pull request title as well as the commit message, so we probably can't make it multiple lines. However, I think I see where you're going with this; let me open an alternate PR.

@dazuma
Copy link
Owner

dazuma commented Sep 23, 2023

#218

@dazuma dazuma closed this Sep 23, 2023
@simi simi deleted the commit-gems branch September 23, 2023 18:16
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