Skip to content

Commit

Permalink
Use mversion for versioning releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyruppel committed Dec 24, 2015
1 parent 40997ec commit b7a0630
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,21 @@ install: .git/hooks/pre-push

.git/hooks/pre-push: script/hook.sh
cp $< $@

release-patch:
$(shell npm bin)/mversion patch -m
git push origin master
git push origin --tags
npm publish

release-minor:
$(shell npm bin)/mversion minor -m
git push origin master
git push origin --tags
npm publish

release-major:
$(shell npm bin)/mversion major -m
git push origin master
git push origin --tags
npm publish
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"jscoverage": "~0.5.9",
"mocha": "~2.2.5",
"mocha-lcov-reporter": "~0.0.2",
"mversion": "^1.10.1",
"underscore": "~1.8.3"
},
"dependencies": {}
Expand Down

0 comments on commit b7a0630

Please sign in to comment.