Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting a tag prefix to be used by gem release tasks #3766

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

deivid-rodriguez
Copy link
Member

Description:

What was the end-user or developer problem that led to this PR?

In order to be able to release rubygems & bundler from the same repo, we need to make sure that the generated tags don't overwrite each other. For example, we don't want the tag for the bundler 2.2.0 release to overwrite the tag for the rubygems 2.2.0 release.

What is your fix for the problem, implemented in this PR?

My fix is to provide a Bundler::GemHelper.tag_prefix= setter to be able to have some control over the tag names. I plan to use it like here.

Honestly, I don't specially like this solution, but it fixes the issue and unblocks the releases. I'm happy to hear other proposals though.

Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

Copy link
Member

@indirect indirect left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me. 👍🏻

@deivid-rodriguez
Copy link
Member Author

Great! Merging this then! ❤️

@deivid-rodriguez deivid-rodriguez merged commit c8a9e78 into master Jun 30, 2020
@deivid-rodriguez deivid-rodriguez deleted the release_prefix branch June 30, 2020 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants