Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/release/build-mpk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ async function updateNativeComponentsTestProject(
log(`Updating NativeComponentsTestProject (repo=${moduleInfo.testProjectUrl ?? "<unknown>"})...`);
log(`JS actions dist path: ${jsActionsPath}`);
log(`JS actions files found: ${jsActions.length}`);
await cloneRepo(moduleInfo.testProjectUrl, tmpFolder);
await cloneRepo(moduleInfo.testProjectUrl, tmpFolder, moduleInfo.testProjectBranchName);

log(`Deleting existing JS Actions from test project: ${tmpFolderActions}`);
await rm(tmpFolderActions, { force: true, recursive: true }); // this is useful to avoid retaining stale dependencies in the test project.
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/module-automation/commons.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function getFiles(folder: string, extensions?: string[]): Promise<string[

export function getPackageInfo(folder: string): Promise<any>;

export function cloneRepo(githubUrl: string, localFolder: string): Promise<void>;
export function cloneRepo(githubUrl: string, localFolder: string, branchName?: string): Promise<void>;

export function createMPK(tmpFolder: string, moduleInfo: any, excludeFilesRegExp: RegExp): Promise<string>;

Expand Down
Loading