$ npm install component-releaseNode.js based git-release for use with component and npm
$ npm install component-release -g
$ component-release 0.0.0
/^(\d+)\.(\d+)\.(\d+)$/ and won't let you publish with a version number that isn't of that form.package.json and component.json if those files are present.component.json or package.json exists but is not valid json.Provided you meet the requirements it will:
git commit -a -m "Release 0.0.0"git tag 0.0.0 -a -m "0.0.0"git pushgit push --tagsnpm publish