Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.51 KB

DEPLOY.md

File metadata and controls

47 lines (30 loc) · 1.51 KB

How to deploy

Before deployment

Make sure the CI is running: https://github.com/configcat/js-chromium-extension-sdk/actions/workflows/js-chromium-ci.yml

Updating configcat-common only

  1. Run ./deploy.sh

  2. Make sure new package is available via NPM: https://www.npmjs.com/package/configcat-js-chromium-extension

  3. Add release notes: https://github.com/configcat/js-chromium-extension-sdk/releases

  4. Update configcat-js-chromium-extension dependency in all sample applications, and test them by following their README.md.

or

Steps to deploy 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, a GitHub action automatically publishes the package to NPM.

    git push origin <new version>

    Example: git push origin v1.1.17

    You can follow the build status here -> https://github.com/configcat/js-chromium-extension-sdk/actions/workflows/js-chromium-ci.yml

  4. Make sure new package is available via NPM: https://www.npmjs.com/package/configcat-js-chromium-extension

  5. Add release notes: https://github.com/configcat/js-chromium-extension-sdk/releases

  6. Update configcat-js-chromium-extension dependency in all sample applications, and test them by following their README.md.