Tucker McKnight <tucker@pangolin.lan> | Sun Jan 11 2026
more logging
115 116 117 118 119
console.log(`in branch ${branch}, ls tempdirrepopath then checkout ${branch}`)
console.log(await exec(`ls -lha ${tempDirRepoPath}`))
// TODO why doesn't git -C checkout work? Says that repo doesn't exist
await exec(`(sleep 1 && cd ${tempDirRepoPath} && sleep 1 && git checkout ${branch})`)
for (let buildStep of repoConfig.buildSteps) {
// Run the command for each step in each branch115 116 117 118 119 120
console.log(`in branch ${branch}, ls tempdirrepopath then checkout ${branch}`)
console.log(await exec(`ls -lha ${tempDirRepoPath}`))
// TODO why doesn't git -C checkout work? Says that repo doesn't exist
console.log(`pwd is ${await exec('pwd')} cwd is ${process.cwd()}`)
await exec(`(sleep 1 && cd ${tempDirRepoPath} && sleep 1 && git checkout ${branch})`)
for (let buildStep of repoConfig.buildSteps) {
// Run the command for each step in each branch