From ac04f1ce26201d90c04eb912e1b6ae1036cdbf5f Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Tue, 1 Jul 2025 18:20:42 +0000 Subject: [PATCH] fix(ng-dev): correctly set `next` branch name in renovate config Related issue: https://github.com/angular/angular/commit/b67351aa48cccadfc36b2cb127da5b986dcdfa81 --- .../release/publish/actions/shared/branch-off-next-branch.ts | 5 ++++- 1 file changed, 4 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..c838f1c9e 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,10 @@ export abstract class BranchOffNextBranchBaseAction extends CutNpmNextPrerelease ...this.getAspectLockFiles(), ]; - const renovateConfigPath = await updateRenovateConfig(this.projectDir, nextBranch); + const renovateConfigPath = await updateRenovateConfig( + this.projectDir, + `${newNextVersion.major}.${newNextVersion.minor}.x`, + ); if (renovateConfigPath) { filesToCommit.push(renovateConfigPath); }