debugging branch names when building
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 58s

This commit is contained in:
thepaperpilot 2024-06-10 20:05:38 -05:00
parent de7fbf829b
commit a958962729

View file

@ -194,6 +194,7 @@ function toSlug(string) {
// Build changelog
fs.mkdirSync("./site/changelog");
console.log("remotes: " + (await exec("git branch -r -v")).stdout);
const { stdout } = await exec('git log origin/master --after="2024-06-03T0:0:0+0000" --pretty=%H site/garden');
console.log(stdout);
const entries = await Promise.all(stdout.split("\n").filter(p => p).map(hash => new Promise(async (resolve) => {