Chart.js/MAINTAINING.md
Jukka Kurkela c26f7b8fcc
Patch release workflow (#8815)
* Allow manual triggering of release drafter
* Add instructions for patch release
2021-04-04 07:04:56 -04:00

1.5 KiB

Maintaining

Release Process

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

Releasing a New Version

  1. Update the release version on GitHub for the release drafted by the release-drafter tool
  2. Publish the release
  3. 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 examples
  • dist/*.js, types/*.ts, and Chart.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.

Releasing a patch version

If there is a need to create a patch version for an older release:

  1. Create a branch for the patch version (without the v prefix)
  2. Cherry pick the needed commit(s) to that new branch from master
  3. Trigger the release-drafter workflow on that branch from the actions.
  4. Follow the procedure for Releasing a New Version

Further Reading