Fix git again?
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 27s

This commit is contained in:
thepaperpilot 2024-06-05 23:38:42 -05:00
parent b99c9664eb
commit 3d96a81f8d

View file

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