pull/4382/head
aniket-engg 11 months ago committed by Aniket
parent 77e3a2c1fe
commit 2ce0826411
  1. 6
      gulpfile.js

@ -65,10 +65,10 @@ task('syncLibVersions', async function () {
});
async function setBranchHead(branchName, head) {
await promisifyExec(`git checkout ${branchName}`);
await promisifyExec(`git pull origin ${branchName}`);
console.log(await promisifyExec(`git checkout ${branchName}`));
console.log(await promisifyExec(`git pull origin ${branchName}`));
console.log(`pull done for ${branchName}`)
await promisifyExec(`git reset --hard ${head}`);
console.log(await promisifyExec(`git reset --hard ${head}`));
await promisifyExec(`git push -f origin ${branchName}`);
}

Loading…
Cancel
Save