Skip to content

Commit

Permalink
automating release procedure.
Browse files Browse the repository at this point in the history
  • Loading branch information
fahad19 committed Jul 7, 2016
1 parent e06d852 commit 13cb9fd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ $ npm publish
$ git push --follow-tags
$ npm run docs:publish
```

Or via Makefile:

```
$ make release VERSION=patch
```
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
VERSION := patch

release:
echo "Releasing version: $(VERSION)"
git checkout master
git pull origin master
npm run transpile
npm version $(VERSION)
npm publish
git push --follow-tags
npm run docs:publish

0 comments on commit 13cb9fd

Please sign in to comment.