Skip to content

Commit

Permalink
fix: git builds (QwikDev#2577)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery authored Jan 6, 2023
1 parent cd0cd95 commit df18e50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/qwik-save-artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ async function prepare({ buildRepo, artifactsDir }: { buildRepo: string; artifac
console.log(`### ${srcRepoRef}/${dstSHA}`);
console.log('##############################################################');
console.log('##############################################################');
const cwd = process.cwd();
return async () => {
process.chdir(cwd);
console.log('PUSHING:', repo, `HEAD:${branch}`, 'in', cwd);
await $('git', 'push', repo, `HEAD:${branch}`);
await $('rm', '-rf', buildRepoDir);
};
Expand Down

0 comments on commit df18e50

Please sign in to comment.