Skip to content

Commit

Permalink
chore: update release script: will update changelog before run 'npm v…
Browse files Browse the repository at this point in the history
…ersion'
  • Loading branch information
osdio committed Apr 2, 2021
1 parent 77e16ab commit a8417cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions release.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const release = async () => {
};

if (isPublish) {
await execWrapper('npm', ['run', 'changelog']);
await execWrapper('npm', ['version', bumps.indexOf(bump) > -1 ? bump : version]);
await execWrapper('git', ['push']);
await execWrapper('git', ['push', '--tags', '-f']);
Expand Down

0 comments on commit a8417cb

Please sign in to comment.