After every pull request merge, use all-contributors bot to update contributors table in README. Do that by commenting in the same pull request the following message:
@all-contributors please add @[name of the contributor] for [code|doc|or other type]
Types of contribution are described in all-contributors' docs. Most commonly used ones are: code
and doc
.
The bot will automatically create a new pull request with changes to README. Merge that to master and you're done.
-
Update changelog:
a. Run
git changelog
or b. Find the last release commit in log history. Look through all the commits or PR history and see all the stuff that has happened since the last release. Add a row describing each high-level change into CHANGES.md. -
Depending upon the changes, decide if it is a major/minor/patch release (semantic versioning).
-
Update version number in package.json and bower.json.
-
Run
grunt
to build dist files. -
Commit all your changes (including CHANGES.md) into your commit. Add the new release number into your commit message. And push it up to the remote master branch.
-
Go here and ‘Draft a new release’. Title the release as the new release number (ex: 5.11.0). Copy/paste the entries you made in CHANGES.md into the release summary. Make sure the release is against the master branch.
-
Once the release is created, go back to your git and run
npm publish
.