Maintaining

Release Process

Chart.js relies on Travis CI to automate the library releases.

Releasing a New Version

  1. draft release notes on GitHub for the upcoming tag
  2. update master package.json version using semver semantic
  3. merge master into the release branch
  4. follow the build process on Travis CI

Note: if master is merged in release with a package.json version that already exists, the tag creation fails and the release process is aborted.

Automated Tasks

Merging into the release branch kicks off the automated release process:

Creation of this tag triggers a new build:

Finally, cdnjs is automatically updated from the npm release.

Further Reading