Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
save
  • Loading branch information
Nikhil Thorat committed Sep 6, 2019
commit 276d52b1df0f4e9852aba68273c88e595b25b7df
12 changes: 9 additions & 3 deletions scripts/diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,19 @@ exec(
`git clone --depth=1 --single-branch --branch ${branchName} ` +
`https://github.com/tensorflow/tfjs ${CLONE_CURRENT_PATH}`);
exec(
`cd ${CLONE_CURRENT_PATH} && git checkout ${branchName} ` +
`&& git checkout ${commitSha} && cd ..`);
`cd ${CLONE_CURRENT_PATH} && ` +
`git checkout ${branchName} &&` +
`git checkout ${commitSha} && ` +
`cd ..`);

exec(
`git clone --depth=1 --single-branch ` +
`https://github.com/tensorflow/tfjs ${CLONE_MASTER_PATH}`);
exec(`cd ${CLONE_MASTER_PATH} && git fetch origin ${mergeBase} && cd ..`);
exec(
`cd ${CLONE_MASTER_PATH} && ` +
`git fetch origin ${mergeBase} && ` +
`git checkout ${mergeBase} && ` +
`cd ..`);

let triggerAllBuilds = false;
let whitelistDiffOutput = [];
Expand Down