-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Use bundler gem tasks instead of gem_release #5413
Conversation
Codecov Report
@@ Coverage Diff @@
## main #5413 +/- ##
=======================================
Coverage 88.86% 88.86%
=======================================
Files 607 607
Lines 14747 14747
=======================================
Hits 13105 13105
Misses 1642 1642 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
end | ||
end | ||
|
||
desc "Release all gems to rubygems" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was under the impression that all of this code was not used at all by gem-release
. Instead, this was the previous system used to release (see #83). I think the subgems release was managed by the recurse
option set in the gem-release
config.
That said, I'm in favor of removing the dependency and simplifying the process but I have two concerns:
- I suspect with the proposed changes we are not releasing the main
solidus
gem but only the subgems. - Having two different ways of releasing for new/older versions might create complications. Is there a way to uniform the two? Both having the same interface or backporting is ok for me, but if you have other ideas, they are welcome.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, yes the recurse option is what got in the way with solidus_admin.
- Good catch! Fixed 👍
- Added back ports labels for all supported versions
Now that we also have a solidus_admin that follows a different release track we need more control over what gems are released. `gem_release` has no such control available and simply has a configuration for recursing. Also all the features of `gem_relerase` regarding version numbers manipulation are no longer relevant as it all happens within GitHub actions using dev_tools. Bundler gem tasks are now the standard for all our extensions and are a simpler, already available, tool that can be leveraged here as well.
63fc31e
to
ccf0eaa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
💔 Some backports could not be createdManual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
Summary
Now that we also have a solidus_admin that follows a different release track we need more control over what gems are released.
gem_release
has no such control available and simply has a configuration for recursing. Also all the features ofgem_relerase
regarding version numbers manipulation are no longer relevant as it all happens within GitHub actions using dev_tools.Bundler gem tasks are now the standard for all our extensions and are a simpler, already available, tool that can be leveraged here as well.
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs:
The following are not always needed: