Run npm run prepare-release
command to prepare a release.
This uses the standard-version package to do the following.
- bumps the version in metadata files (package.json, composer.json, etc),
- uses conventional-changelog to update CHANGELOG.md,
- commits package.json (et al.) and CHANGELOG.md, and
- tags a new release.
In case you want to modify the release in some way, check the documentation of standard-version.
-
prepare a patch release
npm run prepare-release -- --release-as patch
-
prepare a minor release
npm run prepare-release -- --release-as minor
-
prepare a major release
npm run prepare-release -- --release-as major
It does not by itself deploys the new version to anywhere. That is done automatically by Travis when the changes are pushed to master branch.