nx release in independent mode asks for version bump on unchanged projects #23390
Replies: 5 comments
-
Same here, any update? |
Beta Was this translation helpful? Give feedback.
-
Hi @herrmannben and @origranot, thank you for opening this issue. I'm not sure yet if this should be the default behavior, but it makes sense that you would want to automatically skip over the unchanged packages in a workflow where independent packages are released as-needed and not all together. For now, you can put together a workaround using |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response. |
Beta Was this translation helpful? Give feedback.
-
+1 for this request |
Beta Was this translation helpful? Give feedback.
-
Related issue: #27887. |
Beta Was this translation helpful? Give feedback.
-
Current Behavior
Given an integrated repo with two libraries (
lib-a
andlib-b
) and one app (app-a
)lib-a
is a dependency ofapp-a
.After a change in
lib-a
, when runningnx release version
, Nx asks for version bump forapp-a
,lib-a
andlib-b
Expected Behavior
Nx should ask for version bump only for
lib-a
(the updated lib) andapp-a
(the app usinglib-a
) but not forlib-b
.GitHub Repo
https://github.com/herrmannben/test-nx-release
Steps to Reproduce
lib-a
(Change the return value of the function)nx release --skip-publish
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions