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

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

Loading…
Cancel
Save