Skip to content

Commit

Permalink
chore: setup semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Sep 28, 2017
1 parent b3e6aa8 commit 9984126
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ notifications:
node_js:
- 'stable'
- '7'
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
before_script:
- yarn run lint
- yarn run flow
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- yarn run semantic-release
branches:
except:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "quik",
"version": "0.0.0-development",
"description": "A quick way to prototype apps with React and Babel with zero-setup.",
"keywords": [
"react",
Expand All @@ -21,7 +22,7 @@
"coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"prebuild": "yarn run clean",
"prepublish": "yarn run build",
"prepare": "yarn run build",
"precommit": "yarn run lint && yarn run flow"
},
"bin": {
Expand Down

0 comments on commit 9984126

Please sign in to comment.