fix: pass next release to updatePackageVersion & replace ## unreleased with new version (#3806)

* fix: pass next version to updatePackageVersion

* replace unreleased with next version in changelog

* fix

* fix
This commit is contained in:
Aakansha Doshi 2021-07-06 00:13:56 +05:30 committed by GitHub
parent 2e61fec7a6
commit 380aaa30e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -18,7 +18,7 @@ const release = async (nextVersion) => {
try {
updateReadme();
await updateChangelog(nextVersion);
updatePackageVersion();
updatePackageVersion(nextVersion);
await exec(`git add -u`);
await exec(
`git commit -m "docs: release excalidraw@excalidraw@${nextVersion} 🎉"`,