salsita / spicy-hooks

7 stars 0 forks source link

Add `prepare-release` command #3

Closed goce-cz closed 3 years ago

goce-cz commented 3 years ago

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.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.