-
Notifications
You must be signed in to change notification settings - Fork 115
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
Package commit message setting is ignored when another crate is added to the workspace #859
Comments
Could you explain how this is different than #701 that a separate issue is opened? |
Ok, I looked closer at #701 and it is related to consolidated-commits but slightly different. cargo-release prioritizes consistency in behavior to make it more predictable. In this case, that means if under one situation, a commit message is used, then its used under all. You can disable this behavior with |
That prints:
And the commit message becomes literally:
I have created a repo where I'm testing this behavior: https://github.com/bluurryy/cargo-release-commit-message-issue |
Oh hold on I have just been testing this with just |
#680 is about |
Yes that worked! Thank you for the help! I can see now how the current behavior makes sense. I suppose it would help if there was a warning whenever there is an unused |
When a second crate is added to the workspace, the package setting for commit messages is ignored and the workspace setting is used instead.
I would expect
cargo-release
to change its behavior only when I use--workspace
, not automatically.This means that currently, when a user adds a second crate to their workspace, they will suddenly no longer get their custom commit message. There is no warning, error, or prompt about this setting being ignored.
This is related to:
See this issue for the root cause and expected fixes.
The text was updated successfully, but these errors were encountered: