Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update changelog actions
Browse files Browse the repository at this point in the history
luin committed May 13, 2024

Verified

This commit was signed with the committer’s verified signature.
the-praxs Pratyush Shukla
1 parent cc898ef commit c44dbe3
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Generate Changelog

on:
release:
types: [published]
types: [published, created]

jobs:
changelog:
8 changes: 8 additions & 0 deletions scripts/changelog.mjs
Original file line number Diff line number Diff line change
@@ -59,6 +59,14 @@ const note = `# ${release.tagName} (${formatDate(new Date(release.publishedAt))}

await writeFile(changeLogFilePath, `${note}\n${currentChangeLog}`);

await execa("git", ["config", "--global", "user.name", "Zihua Li"]);
await execa("git", [
"config",
"--global",
"user.email",
"[email protected]",
]);

await execa("git", ["add", changelogFilename]);
await execa("git", [
"commit",

0 comments on commit c44dbe3

Please sign in to comment.