ksux / ks-design-guide

Live pattern library for Kuali Student.
http://ksux.github.io/ks-design-guide/
9 stars 1 forks source link

Automate version archiving #4

Open basham opened 10 years ago

basham commented 10 years ago

Create a Grunt task automatically version and archive the current build.

  1. Get the current tag (e.g. 0.1.0) from package.json
  2. Get the date of the last commit
  3. Get a link to the CHANGELOG
  4. Copy contents of dist build folder to release/[tag]
  5. Build a page listing current and all prior tagged releases
  6. Git tag the repo

Sketch of archive page

basham commented 10 years ago

Explore how the Style Prototype Generator handles versioning.

grunt bump:major: Backwards incompatible changes are made to your Style Prototype grunt bump:minor: Add new functionality to your Style Prototype, but the new functionality is backwards compatible grunt bump:patch: Backwards compatible bug fixes