Skip to content

Commit

Permalink
fix: Broken npm deploys
Browse files Browse the repository at this point in the history
Add travis-after-all to ensure deploys don't overlap - and semantic-release is
only run after a successful build matrix (rather than just one build passing).
  • Loading branch information
keithamus committed Dec 14, 2015
1 parent e6ca12c commit 83a3d72
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
"url": "git+ssh://git@github.com/keithamus/sort-package-json.git"
},
"scripts": {
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"semantic-release": "travis-after-all && semantic-release pre && npm publish && semantic-release post",
"test": "node test.js"
},
"dependencies": {
"sort-object-keys": "^1.1.1"
},
"devDependencies": {
"semantic-release": "^4.3.5"
"semantic-release": "^4.3.5",
"travis-after-all": "^1.4.4"
}
}

0 comments on commit 83a3d72

Please sign in to comment.