When called it pulls the latest GitHub release draft for the current branch and spreads its release notes among CHANGELOG.mds files of individual packages. RegExp patterns are used to determine which section of the release notes go where.
Additionally the script updates version numbers in all package.jsons so that they match the version to be released.
This PR adds a new command to the
bin
package:prepare-release
When called it pulls the latest GitHub release draft for the current branch and spreads its release notes among
CHANGELOG.md
s files of individual packages. RegExp patterns are used to determine which section of the release notes go where.Additionally the script updates version numbers in all
package.json
s so that they match the version to be released.