fix(release): skip dependents of projects without changes in conventional commits (#26671)
This commit is contained in:
parent
e04b5761de
commit
d356f61192
@ -397,8 +397,16 @@ export async function releaseChangelog(
|
||||
continue;
|
||||
}
|
||||
for (const project of releaseGroup.projects) {
|
||||
// If the project does not have any changes, do not process its dependents
|
||||
if (
|
||||
!projectsVersionData[project] ||
|
||||
projectsVersionData[project].newVersion === null
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const dependentProjects = (
|
||||
projectsVersionData[project]?.dependentProjects || []
|
||||
projectsVersionData[project].dependentProjects || []
|
||||
)
|
||||
.map((dep) => {
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user