Skip to content

Commit

Permalink
Set up semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
orangejulius committed Oct 17, 2016
1 parent 54c4c44 commit 5dd640d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
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
- npm run semantic-release
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"name": "pelias-config",
"author": "mapzen",
"version": "2.1.0",
"description": "Configuration settings for Pelias",
"homepage": "https://github.com/pelias/config",
"version": "0.0.0-semantic-release",
"license": "MIT",
"main": "index.js",
"scripts": {
"lint": "jshint .",
"test": "npm run units",
"travis": "npm test",
"units": "node test/run.js | tap-spec",
"validate": "npm ls"
"validate": "npm ls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git://github.com/pelias/config.git"
"url": "https://github.com/pelias/config.git"
},
"keywords": [
"pelias",
Expand All @@ -36,7 +37,8 @@
"tape": "^4.5.0",
"tap-spec": "^4.1.1",
"precommit-hook": "^3.0.0",
"jshint": "2.9.3"
"jshint": "2.9.3",
"semantic-release": "^4.3.5"
},
"pre-commit": [
"lint",
Expand Down

0 comments on commit 5dd640d

Please sign in to comment.