Chart.js relies on Travis CI to automate the library releases.
- Update the release version on GitHub for the release drafted by the
release-drafter
tool - Publish the release
- follow the build process on GitHub Actions
Creation of this tag triggers a new build:
Chart.js.zip
package is generated, containing dist files and examplesdist/*.js
,types/*.ts
, andChart.js.zip
are attached to the GitHub release (downloads)- A new npm package is published on npmjs
Finally, cdnjs is automatically updated from the npm release.
If there is a need to create a patch version for an older release:
- Create a branch for the patch version (without the
v
prefix) - Cherry pick the needed commit(s) to that new branch from master
- Trigger the release-drafter workflow on that branch from the actions.
- Follow the procedure for Releasing a New Version