Skip to content
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

cargo publish doesn't allow --workspace, multiple --package, or --exclude #14652

Closed
epage opened this issue Oct 7, 2024 · 1 comment · Fixed by #14659
Closed

cargo publish doesn't allow --workspace, multiple --package, or --exclude #14652

epage opened this issue Oct 7, 2024 · 1 comment · Fixed by #14659
Labels
C-bug Category: bug Command-publish Z-package-workspace Nightly: package-workspace

Comments

@epage
Copy link
Contributor

epage commented Oct 7, 2024

Was testing out #1169 in cargo-release where we exclusively use --package and found it didn't work.

@epage epage added C-bug Category: bug Command-publish Z-package-workspace Nightly: package-workspace labels Oct 7, 2024
@epage
Copy link
Contributor Author

epage commented Oct 7, 2024

CC @jneem

@weihanglo weihanglo changed the title cargo publish doesn't allow --workspace, multiple --package, or `--exclude cargo publish doesn't allow --workspace, multiple --package, or --exclude Oct 7, 2024
bors added a commit that referenced this issue Oct 9, 2024
Support package selection options like `--exclude` in `cargo publish`

Fixes #14652.

Is there a way to make the help text depend on whether nightly/unstable features are enabled? I couldn't find one...
@bors bors closed this as completed in 5b220de Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug Command-publish Z-package-workspace Nightly: package-workspace
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant