This commit is contained in:
parent
713ee35535
commit
df01ee747c
1 changed files with 5 additions and 2 deletions
|
@ -195,8 +195,11 @@ function toSlug(string) {
|
|||
fs.mkdirSync("./site/changelog");
|
||||
|
||||
await exec("git fetch --all")
|
||||
console.log("remotes: " + (await exec("git branch -r -v")).stdout);
|
||||
const { stdout } = await exec('git log --after="2024-06-03T0:0:0+0000" --pretty=%H origin/master');
|
||||
console.log("remotes: " + (await exec("git branch -r")).stdout);
|
||||
console.log("head: " + (await exec("git show origin/HEAD")).stdout);
|
||||
console.log("head-1: " + (await exec("git show origin/HEAD~")).stdout);
|
||||
console.log("head-5: " + (await exec("git show origin/HEAD~4")).stdout);
|
||||
const { stdout } = await exec('git log --after="2024-06-03T0:0:0+0000" --pretty=%H origin/HEAD');
|
||||
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}`);
|
||||
|
|
Loading…
Reference in a new issue