On the develop
branch, do the following changes:
- Increment version number
- in the
package.json
file - in the
package-lock.json
file (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 push
git checkout main
git pull
git merge develop
git push
git tag -a X.X.X -m "Release X.X.X"
git push --tags
Use 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