Skip to content

Commit

Permalink
fix: start using semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
godber committed Aug 19, 2017
1 parent f31b6d9 commit 7433f1a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
17 changes: 15 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- "6"
- "4"
- '8'
- '6'
- '4'
before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{
"name": "teraslice-top",
"version": "0.1.0",
"version": "0.0.0-development",
"description": "Teraslice Cluster Activity Monitoring Tool",
"main": "index.js",
"scripts": {
"test": "node node_modules/jasmine/bin/jasmine",
"lint": "eslint .",
"docs": "jsdoc -R README.md -P package.json -r lib/ index.js",
"clean": "rm -rf out"
"clean": "rm -rf out",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "github.com/godber/teraslice-top"
"url": "https://github.com/godber/teraslice-top"
},
"keywords": [
"teraslice"
Expand All @@ -31,6 +32,7 @@
"eslint": "^3.8.1",
"eslint-config-google": "^0.7.0",
"jasmine": "^2.5.2",
"jsdoc": "^3.4.2"
"jsdoc": "^3.4.2",
"semantic-release": "^7.0.2"
}
}

0 comments on commit 7433f1a

Please sign in to comment.