-
Notifications
You must be signed in to change notification settings - Fork 349
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
separate-pull-requests + node-workspace plugin issues #1858
Comments
I have the same issues |
Also facing the exact same issue. Sad to see that it was reported a year ago and still hasn't been fixed 😕.. |
I was able to track down the issue to the merge plugin (used when enabling the node-workspace plugin). @chingor13, I don't really understand the purpose of the code here, so I will let you decide what needs to be fixed. TraceFrom release-please/src/manifest.ts Lines 798 to 801 in 08331fa
The So release-please/src/plugins/workspace.ts Lines 169 to 177 in 08331fa
Here, the release-please/src/plugins/merge.ts Lines 129 to 138 in 08331fa
Resulting, for a mono-repo, to always have an empty |
@chingor13 I might be wrong, but this does not seem to be resolved. The referenced PR above is not merged and has been inactive for ~two months. Has this been resolved elsewhere? |
While trying to use
release-please
withseparate-pull-requests
and thenode-workspace
plugin enabled, I stumbled upon a couple of issues and some odd behaviour.When pushing a commit for a single (and at this point in the repro, the only) package, in addition to the
chore(main): release <package-name> x.y.z
pr,release-please
opens another pr (chore: release main
) with 0 files changed. Thechore: release main
pr is open constantly and contains 0 files changed.Is this expected behaviour? If so, how is one supposed to treat this PR? Leave it as is, merge it before or after the pr containing actual changes, or? I was unable to find any documentation regarding this, so I'm guessing this might be a bug? :)
Moving on from there, using the same setup, if one updates a package that's referenced in another package, the
chore: release main
pr is updated with the patch bump change for the package that references the updated package. But thechangelog
change is invalid and if one tries to merge the PR, no tag is created for the patch bump, causing the versioning to fail. I've created a repro, as this is quite difficult describing... 😅Environment details
release-please
version: v15.7.0Steps to reproduce
separate-pull-request
andnode-workspace
pluginAgain, I've created a repro that hopefully makes it easier to grasp. If not, let me know if I can help provide any other info :)
The text was updated successfully, but these errors were encountered: