- MAJOR version when you make incompatible API changes
E.g. Adding new none prefixed bootstrap classes
- MINOR version when you add functionality in a backwards-compatible manner
E.g. Adding a new msds-* prefixed class
- PATCH version when you make backwards-compatible bug fixes.
E.g. Fixing a bug in existing code without changing API(Classes etc..)
Steps to follow
- Go to local repository
- Create branch/go to existing branch “git checkout (branch)”
- Get latest from master “git pull origin master”
- Write “npm version (major | minor | patch)” to bump the package files versions
- Copy the version number
- Push code to remote (git push)
- Create PR
- Get PR merged into master
- Create a release in github with the same version e.g. v0.1.3
Once the new release is saved an automated travis-ci deploy to the package on npm is triggered.