You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chart.js relies on [Travis CI](https://travis-ci.org/) to automate the library [releases](https://github.com/chartjs/chartjs-plugin-zoom/releases).
6
+
7
+
### Releasing a New Version
8
+
9
+
1. draft release notes on [GitHub](https://github.com/chartjs/chartjs-plugin-zoom/releases/new) for the upcoming tag
10
+
1. update `master``package.json` version using [semver](https://semver.org/) semantic
11
+
1. merge `master` into the `release` branch
12
+
1. follow the build process on [Travis CI](https://travis-ci.org/chartjs/chartjs-plugin-zoom)
13
+
14
+
> **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.
15
+
16
+
### Automated Tasks
17
+
18
+
Merging into the `release` branch kicks off the automated release process:
19
+
20
+
* build of the `dist/*.js` files
21
+
*`dist/*.js` are copied to the root directory
22
+
*`bower.json` is generated from `package.json`
23
+
*`dist/*.js` and `bower.json` are added to a detached branch
24
+
* a tag is created from the `package.json` version
25
+
* tag (with dist files) is pushed to GitHub
26
+
27
+
Creation of this tag triggers a new build:
28
+
29
+
*`chartjs-plugin-zoom.zip` package is generated, containing dist files and examples
30
+
*`dist/*.js` and `chartjs-plugin-zoom.zip` are attached to the GitHub release (downloads)
31
+
* a new npm package is published on [npmjs](https://www.npmjs.com/package/chartjs-plugin-zoom)
32
+
33
+
Finally, [cdnjs](https://cdnjs.com/libraries/chartjs-plugin-zoom) is automatically updated from the npm release.
0 commit comments