Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 669 Bytes

MAINTAINERS.md

File metadata and controls

37 lines (19 loc) · 669 Bytes

How to release a new version

If you are running on Unix (Mac OSX, Linux), you can run tools/release.sh that will run all steps for you:

$ tools/release.sh X.Y.Z

Manual steps

  1. Make sure all tests are passing:

     $ npm test
    
  2. Update the changelog

     $ tools/git-changelog X.Y.Z
    
  3. Update the version in package.json

     $ npm version --git-tag-version=false X.Y.Z
    
  4. Commit the changes to git

     $ git commit ChangeLog.md package.json -m X.Y.Z
    
  5. Create a git tag

     $ git tag -a vX.Y.Z -m X.Y.Z
    
  6. Push all changes to the server

     $ git push origin master vX.Y.Z
    
  7. Publish the package

     npm publish