Chart.js
Chart.js copied to clipboard
Create a version bumping task in gulp
Outline
Add a task to update the various places where version numbers are in the project. Current hand-releasing setup has led to tagged releases which are out of sync with bower.json and package.json files.
API spec
# Proposed syntax. Optional --version argument, defaults to bump patch version if not provided
gulp bump --version 1.0.1-beta.2
This task should:
- Run linting & any future tests before bumping the version, task stops if they fail
- Be able to accept pre-release tags
- Add in a version note in copyright notice the compiled output in Chart.js & Chart.min.js (May require adjusting
buildtask to cater for this) - Update package.json & bower.json versions
- Git tag the release