-
-
Notifications
You must be signed in to change notification settings - Fork 301
fix(get-next-bump): fix to permit usage of --get-next option even when update_changelog_on_bump is set to true #1301
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
Conversation
...en update_changelog_on_bump is set to true
d563504
to
e5d6797
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@ ## master #1301 +/- ## ========================================== + Coverage 97.33% 97.55% +0.21% ========================================== Files 42 55 +13 Lines 2104 2613 +509 ========================================== + Hits 2048 2549 +501 - Misses 56 64 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@Lee-W @noirbizarre @woile
Hello,
Can one of you review this PR ?
As I did not receive any update on my response to the comment, I try the direct ping, sorry for the inconvenience !
@Lee-W @noirbizarre @woile Hello, Can one of you review this PR ? As I did not receive any update on my response to the comment, I try the direct ping, sorry for the inconvenience !
Will take a look these days. Thanks for reminding me!
Uh oh!
There was an error while loading. Please reload this page.
Description
With the configuration options
update_changelog_on_bump
set toTrue
, the commandcz bump --get-next
crashed, due to the mutual exclusive options--get-next
and--changelog
/--changelog-to-stdout
.Changing this behavior to still throw a conflict when using both CLI options, but let
--get-next
take the precedence overupdate_changelog_on_bump
configuration.Checklist
./scripts/format
and./scripts/test
locally to ensure this change passes linter check and testExpected behavior
Now the configuration options
update_changelog_on_bump
can be set to whatever you want when using thecz bump --get-next
command.Steps to Test This Pull Request
update_changelog_on_bump
flag set to true.cz bump --get-next
Additional context