-
Notifications
You must be signed in to change notification settings - Fork 483
New Release
Nicole Sullivan edited this page Nov 22, 2013
·
3 revisions
Creating a new release with Grunt is relatively easy. Most tasks will be done for you via automated grunt tasks.
- Modify the release number in package.json (we use semantic versioning, so choose your version number wisely)
- Run
grunt release
- Commit the
release
directory and theCHANGELOG
file:git commit -m "Release v<release number>"
- Tag the release
git tag v<release number>
- Push the commit and the tag
git push && git push --tags
If you need examples to follow you can see both the CHANGELOG and the release history on github.
Next, you are ready to release to the website. Documentation for that push process can be found in the website repo.
- Login to NPM with
npm adduser
if you haven't already logged in on your machine -
git checkout v0.10.0
to get the tag/commit to publish (replace the version number with the one you are releasing). -
npm publish release/npm
which will pack everything up and publish it to NPM