MarcoIeni / release-plz

Publish Rust crates from CI with a Release PR.
https://release-plz.ieni.dev
Apache License 2.0
828 stars 84 forks source link

Commits to child crate is added to changelog of parent crate in workspace #1701

Closed Profiidev closed 1 month ago

Profiidev commented 1 month ago

Bug description

When I have multiple crates in the same workspace and make a commit with changes only to a child crate then the commit is also added to the parent crate in the changelog and the version of the parent crate is bumped.

Example

https://github.com/Profiidev/release-plz-test/pull/1

MarcoIeni commented 1 month ago

I also see "initial commit" which involved both crates I guess

Profiidev commented 1 month ago

The commit i mean is the 'subcrate edit' commit

MarcoIeni commented 1 month ago

oh, yes, you are right. PR welcome! Otherwise I can look into this around 28 September

Profiidev commented 1 month ago

I will try to look into the code and see if I can fix it