Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

1.3 Release script

Ghislain Seguin edited this page Dec 24, 2013 · 1 revision

How to release with grunt (starting at 1.3-stable until 1.4)

Test deploy

To perform a test deploy:

  1. change the version in the package.json file
  2. grunt deploy

Do the release

This assumes that you have the keys to [email protected], if that's the case then:

grunt release --releaseBranch=<current-branch> --releaseVersion=<version-to-release>

This will assert:

  • that you're on the branch you say you want to release from
  • that your workspace is clean of any pending modifications
  • that you're not attempting to release a pre version

Once all theses checks have passed it will:

  • Change the package.json version to the one specified in the releaseVersion parameter
  • Commit the version change
  • Tag the repo with releaseVersion
  • build the library and demos
  • Deploy them to the CDN
  • Change the version to releaseVersion + ( patch + 1 )``pre
  • Commit the version change

NOTE: The last step is manual

You still need to push manually to the central repo, both the branch and the new tag:

  1. git push origin <current-branch>
  2. git push origin <version-to-release>
Clone this wiki locally