Skip to content

Commit

Permalink
chore: improve npm run bump:npm script (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Jan 11, 2021
1 parent d653cde commit d532eb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/bump-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ execFileSync("git", ["add", "."]);

const message = `fix(deps): bump npm from ${oldVersion} to ${newVersion}
Via \`$ npm run npm:version ${newVersion}\`.
- https://github.com/npm/cli/releases/tag/v${newVersion}
- https://github.com/npm/cli/compare/v${oldVersion}...v${newVersion}
`;
execFileSync("git", ["commit", "-m", message]);

process.stdout.write(`
!!! Run: \`npm test\` !!!
!!! Run \`npm test\` !!!
`);

0 comments on commit d532eb8

Please sign in to comment.