We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84fc7c2 commit 9514f8fCopy full SHA for 9514f8f
scripts/ci/codegen/pushGeneratedCode.ts
@@ -1,5 +1,5 @@
1
/* eslint-disable no-console */
2
-import { run, GENERATED_MAIN_BRANCH } from '../../common';
+import { run } from '../../common';
3
import { configureGitHubAuthor } from '../../release/common';
4
import { getNbGitDiff } from '../utils';
5
@@ -45,9 +45,7 @@ export async function pushGeneratedCode(): Promise<void> {
45
await run(`yarn workspace scripts cleanGeneratedBranch ${baseBranch}`);
46
47
console.log(`Creating branch for generated code: '${generatedCodeBranch}'`);
48
- await run(
49
- `git branch ${generatedCodeBranch} origin/${GENERATED_MAIN_BRANCH}`
50
- );
+ await run(`git branch ${generatedCodeBranch}`);
51
}
52
53
await run(`git checkout ${generatedCodeBranch}`);
0 commit comments