This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
1.3 Release script
Ghislain Seguin edited this page Dec 24, 2013
·
1 revision
To perform a test deploy:
- change the version in the
package.json
file grunt deploy
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 thereleaseVersion
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:
git push origin <current-branch>
git push origin <version-to-release>