Skip to content

Commit 6f54d14

Browse files
committed
fix(ng-dev): correctly set next branch name in renovate config
Related issue: angular/angular@b67351a
1 parent b4e1ad0 commit 6f54d14

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ng-dev/release/publish/actions/shared/branch-off-next-branch.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,11 @@ export abstract class BranchOffNextBranchBaseAction extends CutNpmNextPrerelease
145145
...this.getAspectLockFiles(),
146146
];
147147

148-
const renovateConfigPath = await updateRenovateConfig(this.projectDir, nextBranch);
148+
const renovateConfigPath = await updateRenovateConfig(
149+
this.projectDir,
150+
`${version.major}.${version.minor}.x`,
151+
);
152+
149153
if (renovateConfigPath) {
150154
filesToCommit.push(renovateConfigPath);
151155
}

0 commit comments

Comments
 (0)