Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Automated Releases] Add logging and dry run to release script #2986

Merged
merged 12 commits into from
Sep 12, 2022
Prev Previous commit
Next Next commit
fix
  • Loading branch information
acywatson committed Sep 12, 2022
commit 7f03db8a9860e1632ebf1e4e0438f7c1816bb426
2 changes: 1 addition & 1 deletion scripts/npm/update-changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async function updateChangelog() {
).stdout.trim();
const tmpFilePath = './changelog-tmp';
await exec(`echo "${header}\n" >> ${tmpFilePath}`);
await exec(`echo "${changelogContent}\n >> ${tmpFilePath}`);
await exec(`echo "${changelogContent}\n" >> ${tmpFilePath}`);
await exec(
`cat ./CHANGELOG.md >> ${tmpFilePath} && mv ${tmpFilePath} ./CHANGELOG.md`,
);
Expand Down