Open drstrangelooker opened 11 months ago
runs successfully with 3.7.8
To me it seems like an error in safeBranch name in the underlying node modules. We have had the same issue with 3.7.10+. The move from 3.7.9 -> 3.7.10 bumps release please from 15.10.4 to 15.11.0.
Also from the log it seems that the issue is with the Linked Versions plugin (we have the same issue) so if I were to guess a culprit it would be this PR and this line of code. Exactly why it fails in this case I'm not sure. I'll investigate more and when I 100% understand the issue I'll make an issue/PR on the release please node package.
For more context, there were others experiencing this issue but it was closed in this repository as it was deemed a problem of the underlying package https://github.com/google-github-actions/release-please-action/issues/786
Seems you need to add a group name to your linked versions plugin, this seems to be required now. Not sure how this should be rectified, could be a default could be created for group name or there could be some sort of better error handling.
https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md#linked-versions
Nevermind our config has a group name...
Okay, I found our issue I believe, we had group-name
instead of groupName
. I'll update if we fix the issue with this change.
TL;DR
Getting
Error: release-please failed: Cannot read properties of undefined (reading 'replace')
Expected behavior
Release-please completes successfully.
This is the end of the log for a working run...
Observed behavior
release-please is failing.
This is the end of the log for a failing run...
Action YAML
Log output
Additional information
No response