Skip to content

Commit

Permalink
chore: fix semantic release publish to github
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Nov 24, 2017
1 parent 141e23e commit 8f6c13b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ after_success:
- cd dist
- yarn install
- yarn semantic-release
- cd ..
- yarn semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
Expand Down
4 changes: 2 additions & 2 deletions lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"rxjs": ">=5.5.2"
},
"devDependencies": {
"semantic-release": "8.2.0"
"semantic-release": "8.2.3"
},
"scripts": {
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"semantic-release": "semantic-release pre && npm publish"
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"commit": "git-cz",
"lint": "npm run clean && tslint --project tsconfig.json lib/src/**/*.ts",
"test": "karma start",
"test-watch": "karma start --singleRun=false --autoWatch=true"
"test-watch": "karma start --singleRun=false --autoWatch=true",
"semantic-release": "semantic-release pre && semantic-release post"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -64,6 +65,7 @@
"reflect-metadata": "0.1.10",
"rimraf": "2.6.2",
"rxjs": "5.5.2",
"semantic-release": "8.2.3",
"source-map-loader": "0.2.3",
"ts-helpers": "1.1.2",
"tslint": "5.8.0",
Expand Down

0 comments on commit 8f6c13b

Please sign in to comment.