-
Notifications
You must be signed in to change notification settings - Fork 536
cargo-workspace plugin does not support Cargo.toml outside of repository root #2589
Copy link
Copy link
Open
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
When using the cargo-workspace plugin with a monorepo where Cargo.toml is not in the root of the repository, Release Please fails with release-please failed: Failed to find file: Cargo.toml.
See
| const cargoManifestContent = await this.github.getFileContentsOnBranch( |
I am creating a multi-language implementation of a library and would like to be able to nest each framework's configuration within its own subfolder.
Environment details
- OS: ubuntu
- Node.js version: v22.14
- npm version: 10.9.2
release-pleaseversion: 17.1.2
Steps to reproduce
- Create a multi-language monorepo with a Rust workspace in a subdirectory (e.g., ./rust) where the Cargo.toml file describing the workspace is stored under ./rust/Cargo.toml
- Reference this using the
cargo-workspaceplugin
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.