Chart.js relies on Travis CI to automate the library releases.
master
package.json
version using semver semanticmaster
into the release
branchNote: if
master
is merged inrelease
with apackage.json
version 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.json
dist/*.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.