Help with release-please-action Configuration for a Project with Nested package.json #2155
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: question
Request for information or clarification. Not an issue.
Hi GitHub Community,
I'm currently working on a project that has a unique structure and I'm facing challenges configuring the release-please-action correctly. My project structure is as follows:
My objective is to manage releases for the entire project, encompassing changes both in the root directory and within the app/ directory, where all source files and package managers files like package.json and composer.json are located. However, since the CHANGELOG.md is located in the root of the repository and there is no package.json file at this level, I am seeking a solution to update the changelog as part of the release process managed by release-please-action, despite the absence of package.json in the root directory.
I've tried the following configurations in my release-please-config.json, but I'm encountering errors:
This configuration results in the following error:
Error: release-please failed: node (org/laravel-app): Missing required file: package.json
However, this leads to a different error:
Error: release-please failed: illegal pathing characters in path: app/../CHANGELOG.md
I am looking for guidance on how to correctly set up the release-please-config.json for my project structure. Specifically, I need to handle releases for the package in the app/ directory while keeping the CHANGELOG.md in the root directory. Any advice or suggestions on how to configure this properly would be greatly appreciated.
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: