To work on new versions of react-verification-input
follow the correct instructions depending on whether the changes should be released on the beta
channel first. The process is mostly the same with the main difference being the base branch (develop
vs. master
).
- Create a new branch from
develop
. - Commit and push changes to new branch.
- Create a pull request to merge from your branch into
develop
. - 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 pre-release will be drafted. (Nothing will happen if no label was added to the pull request.)
- Describe changes in description of pre-release draft.
- Publish pre-release, which will start a GitHub Action. The package will be automatically published to NPM on the
beta
channel.
Note: If you want to release changes already released on the
beta
channel, just create a pull request to mergedevelop
intomaster
(make sure not to merge any undesired changes!) and continue with step 4 below.
- Create a new branch from
master
. - Commit and push changes to new branch.
- Create a pull request to merge from your branch into
master
. - 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
channel.