To work on a new version of react-verification-input
follow these instructions:
- Create a new branch. Base your work off of the
master
branch, except if you want to release to thebeta
channel first (see release channels). In which case you should use thedevelop
branch as a base. - Commit and push changes to new branch.
- Don't forget to update the README / docs if necessary.
- Regenerate docs by running
yarn docs
and commit these changes as well. - Create a pull request to merge from your branch into
master
(ordevelop
). - Wait for CI to complete and fix unit tests if they fail.
- Add label
release: major
,release: minor
orrelease: patch
depending on the type of release. - Merge pull request, which will start a GitHub Action. If you added a label in the previous step the version number will be bumped accordingly and a release will be drafted. (Nothing will happen if no label was added to the pull request.)
- Describe changes in description of release draft.
- Publish release, which will start a GitHub Action. The package will be automatically published to NPM on the
latest
(orbeta
) channel.
On NPM we have two release channels:
latest
: Stable releases, most new features as well as bugfixes will go on this channel.beta
: Experimental releases, can be more unstable.