Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Create a version bumping task in gulp

Open nnnick opened this issue 12 years ago • 0 comments

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 build task to cater for this)
  • Update package.json & bower.json versions
  • Git tag the release

nnnick avatar Jul 03 '14 09:07 nnnick