packages/@rnw-scripts/generate-release-notes/ReadMe.md
Automate release notes creation by adding a new yarn script. Automating the process of creating release notes so that we don't have to manually copy paste the commits.
To save us some time when generating release notes. Fetches commit from start and end date range, ignores bots and creates the release notes md file. It also categorizes the commits. Please cross-check the generated release-notes.md file and update it manually if required like regrouping commits or updating the Summary/Explanation for the PR commit.
Explanation. [PRName (#11168) · microsoft/react-native-windows@aaaaaaa (github.com)](link)
Usage:
yarn release-notes --token <GITHUB_TOKEN> --start <START_DATE> --end <END_DATE> [--repo <OWNER/REPO>] [--tag <RELEASE_TAG>]
Options:
--token (required) GitHub personal access token.
--start (required) Start date in YYYY-MM-DD.
--end (required) End date in YYYY-MM-DD.
--repo Repository in OWNER/REPO format. Default: microsoft/react-native-windows
--tag Release tag label. Default: Unreleased. Expected: 0.80 or similar
--help Show this help message.