This commit is contained in:
parent
91e757f7cc
commit
c7341a63de
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ function toSlug(string) {
|
||||||
// Build changelog
|
// Build changelog
|
||||||
fs.mkdirSync("./site/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);
|
console.log(stdout);
|
||||||
const entries = await Promise.all(stdout.split("\n").filter(p => p).map(hash => new Promise(async (resolve) => {
|
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}`);
|
const { stdout: title } = await exec(`git show --quiet --format=%s ${hash}`);
|
||||||
|
|
Loading…
Reference in a new issue