Updating the npm packageΒΆ

  1. Get latest dev version:

    git checkout dev
    git pull
  2. Merge into master and test:

    git checkout master
    git pull
    git merge dev
  3. Update version number on master:

    npm version patch  # or minor, or major; prints new version number
  4. Merge updated version number into dev:

    git checkout dev
    git merge master
  1. Push to remotes and npm:

    git push origin dev
    git push origin master
    git push origin v0.0.1  # use version printed by "npm version" command above
    npm publish