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( |
; it looks like the path is hard-coded.
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-please version: 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-workspace plugin
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
release-please/src/plugins/cargo-workspace.ts
Line 94 in 3cf5360
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
release-pleaseversion: 17.1.2Steps to reproduce
cargo-workspaceplugin