Skip to content

Commit

Permalink
chore: correct changelog args
Browse files Browse the repository at this point in the history
  • Loading branch information
wangkaiwd committed Oct 22, 2022
1 parent d7d5f3a commit 6cf3a85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,17 @@ const doRelease = async (version: string) => {
);

step("\nGenerate changelog...");
const conventionalChangelogArgs = [
const changelogArgs = [
"conventional-changelog",
"-p",
"angular",
"-i",
"CHANGELOG.md",
"-s",
"--commit-path",
".",
];
await ifDryRun("npx", conventionalChangelogArgs, { cwd });
await ifDryRun("npx", changelogArgs, { cwd });
await commitChanges(version);
step("\nPublish package to npm...");
await ifDryRun("npm", ["publish", "--reg", npmRegistry], { cwd });
Expand Down

0 comments on commit 6cf3a85

Please sign in to comment.