Chart.js relies on Travis CI to automate the library releases.
master package.json version using semver semanticmaster into the release branchNote: if
masteris merged inreleasewith apackage.jsonversion that already exists, the tag creation fails and the release process is aborted.
Merging into the release branch kicks off the automated release process:
dist/*.js filesbower.json is generated from package.jsondist/*.js and bower.json are added to a detached branchpackage.json versionCreation of this tag triggers a new build:
Chart.js.zip package is generated, containing dist files and examplesdist/*.js and Chart.js.zip are attached to the GitHub release (downloads)Finally, cdnjs is automatically updated from the npm release.