From e2e52fe5b653b9298f2959ab82d6b9932f783b1c Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Wed, 2 Jul 2025 07:07:56 +0000 Subject: [PATCH] fix(ng-dev): correctly set `next` branch name in renovate config Related issue: https://github.com/angular/angular/commit/b67351aa48cccadfc36b2cb127da5b986dcdfa81 --- .../publish/actions/shared/branch-off-next-branch.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ng-dev/release/publish/actions/shared/branch-off-next-branch.ts b/ng-dev/release/publish/actions/shared/branch-off-next-branch.ts index 7c504da8b..a21bcd31d 100644 --- a/ng-dev/release/publish/actions/shared/branch-off-next-branch.ts +++ b/ng-dev/release/publish/actions/shared/branch-off-next-branch.ts @@ -145,7 +145,11 @@ export abstract class BranchOffNextBranchBaseAction extends CutNpmNextPrerelease ...this.getAspectLockFiles(), ]; - const renovateConfigPath = await updateRenovateConfig(this.projectDir, nextBranch); + const renovateConfigPath = await updateRenovateConfig( + this.projectDir, + `${version.major}.${version.minor}.x`, + ); + if (renovateConfigPath) { filesToCommit.push(renovateConfigPath); }