Fix git log
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 28s

This commit is contained in:
thepaperpilot 2024-06-05 23:28:37 -05:00
parent 91e757f7cc
commit c7341a63de

View file

@ -194,7 +194,7 @@ function toSlug(string) {
// Build changelog
fs.mkdirSync("./site/changelog");
const { stdout } = await exec('git log --after="2024-06-03T0:0:0+0000" --pretty=%H site/garden');
const { stdout } = await exec('git log 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) => {
const { stdout: title } = await exec(`git show --quiet --format=%s ${hash}`);