mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Add an annoying nit
This commit is contained in:
@@ -68,6 +68,7 @@ and then run `npm start` or `npm run build`.
|
||||
* You'll need an [access token for the GitHub API](https://help.github.com/articles/creating-an-access-token-for-command-line-use/). Save it to this environment variable: `export GITHUB_AUTH="..."`
|
||||
* Run `npm run changelog`. The command will find all the labeled pull requests merged since the last release and group them by the label and affected packages, and create a change log entry with all the changes and links to PRs and their authors. Copy and paste it to `CHANGELOG.md`.
|
||||
* Add a four-space indented paragraph after each non-trivial list item, explaining what changed and why. For each breaking change also write who it affects and instructions for migrating existing code.
|
||||
* Maybe add some newlines here and there. Preview the result on GitHub to get a feel for it. Changelog generator output is a bit too terse for my taste, so try to make it visually pleasing and well grouped.
|
||||
6. Make sure to include “Migrating from ...” instructions for the previous release. Often you can copy and paste them.
|
||||
7. After merging the changelog update, create a GitHub Release with the same text. See previous Releases for inspiration.
|
||||
8. **Do not run `npm publish`. Instead, run `npm run publish`.**
|
||||
|
||||
Reference in New Issue
Block a user