Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 786 Bytes

DEPLOY.md

File metadata and controls

35 lines (24 loc) · 786 Bytes

How to deploy

Via shell script

  1. Run ./deploy.sh

  2. Update common-js in js-sdk and node-sdk and re-deploy both packages.

or

Manually

  1. Run tests

     npm test
  2. Create a new version (patch, minor, major) Increase version number by using npm version patch | minor | major

    Example: increasing patch version

    npm version patch
  3. Push tag to remote

    If you tag the commit, TravisCI automatically publishes the package to NPM.

    git push origin <new version>

    Example: git push origin v1.1.15

    You can follow the build status here -> https://travis-ci.com/configcat/common-js

  4. Update common-js in js-sdk and node-sdk and re-deploy both packages.