Trying out the nx release
command but struggling to get it to release an app when there are changes to a dependent module.
Examining the graph below, you can see that I have 3 apps, with 2 depending on the shared-ui
module.
https://i.sstatic.net/QYDBlRnZ.png
If I directly modify the apps, nx release
picks up the changes (using conventional commits) and proceeds as anticipated. Recently, I made a modification to the shared-ui
module and committed it as fix(shared-ui): made a change
. My assumption was that task-management-web
and sales-orders-web
would have their patch versions increased, but nx release
is not recognizing any alterations.
https://i.sstatic.net/CU6Y8DFr.png
The modifications to shared-ui
are happening in a specific branch. The list of affected apps is accurate;
$ nx show projects --type app --affected
sales-orders-web
company-web
however, nx release
isn't acknowledging the adjustments.
Even explicitly specifying the projects for release results in the same response, like so:
$ nx release --projects sales-orders-web company-web --dry-run --skip-publish
Any suggestions on how to address this issue?
Appreciate it, Grant