Explicitly included packages with --package
don't run with the --workspace
flag when they are publish = false
.
#868
Labels
C-bug
Category: doesn't meet expectations
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-mentor
Call for participation: Mentorship is available for this issue.
Steps to reproduce the bug with the above code
In pwd
test_crates/manifest_tests/workspace_all_publish_false
:Package
a
(marked aspublish = false
in Cargo.toml) is explicitly included with the--package a
flag.Actual Behaviour
a
is not semver-checked:Expected Behaviour
a
is semver-checked, similar to running the command without--workspace
:while semver-checking the other crates in the workspace like
--workspace
does - in this example, with:since
b
is also marked aspublish = false
.Generated System Information
Software version
cargo-semver-checks 0.34.0 (a0c0a37)
Operating system
Linux 6.10.3-zen1-2-zen
Command-line
cargo version
Compile time information
Build Configuration
No response
Additional Context
Originally in #866 (comment)
The text was updated successfully, but these errors were encountered: