Skip to content

Commit

Permalink
fix: fix semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya committed Apr 16, 2018
1 parent dff651e commit c36d79c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ node_js:
script: npm run test:ci
after_success:
- codecov
- npm run semantic-release
- ./node_modules/.bin/travis-deploy-once "npm run semantic-release"
addons:
sauce_connect: true
branches:
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
"test:size": "bundlesize",
"test:prepush": "npm run build && npm run test:unit && npm run test:size",
"browser-coverage": "npm run test:cover && opener coverage/lcov-report/index.html",
"prepublish": "in-publish && npm run build || not-in-publish",
"presemantic-release": "npm run build",
"postpublish": "npm run docs:publish && npm run clean",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"semantic-release": "semantic-release",
"devdep:build": "pushd ../contentful-sdk-core && npm run build && popd",
"devdep:clean": "pushd ../contentful-sdk-core && npm run clean && popd",
"devdep:install": "npm run devdep:build && rm -rf node_modules/contentful-sdk-core && npm install ../contentful-sdk-core && npm run devdep:clean",
Expand Down Expand Up @@ -105,6 +105,7 @@
"semantic-release": "^12.4.1",
"sinon": "^4.4.2",
"tap-spec": "^4.1.1",
"travis-deploy-once": "^4.4.1",
"trevor": "^2.2.0",
"webpack": "^4.0.0",
"webpack-bundle-analyzer": "^2.10.0",
Expand Down

0 comments on commit c36d79c

Please sign in to comment.