On the develop branch, do the following changes:
- Increment version number
- in the
package.jsonfile - in the
package-lock.jsonfile (cause why not?) - everywhere else used
- in the
- Add new entry to the
CHANGELOG.md, including- new features, bug fixes, ...
- special mentions of any breaking changes
- For breaking changes, consider
- extending compatibility tables (e.g. in
README.md) - adding upgrade instructions (e.g.
MIGRATION-GUIDE.md)
- extending compatibility tables (e.g. in
Commit all changes under the name Release X.X.X:
git add .
git commit -m "Release X.X.X"
git pushgit checkout main
git pull
git merge develop
git pushgit tag -a X.X.X -m "Release X.X.X"
git push --tagsUse the tag as basis, and use the corresponding CHANGELOG.md entry as the description.
- Deploy / release (e.g. npm, server)
- Mention new release on PRs / issues closed by the release